|
|
1bf31c |
From e03445a5e40bb8d6de3d401495e8645a6c1db04c Mon Sep 17 00:00:00 2001
|
|
|
1bf31c |
From: Lukas Nykryn <lnykryn@redhat.com>
|
|
|
1bf31c |
Date: Thu, 7 Jan 2021 11:57:56 +0100
|
|
|
1bf31c |
Subject: [PATCH] 00systemd: when putting systemd-vconsole-setup.service as a
|
|
|
1bf31c |
dependency ignore missing services
|
|
|
1bf31c |
|
|
|
1bf31c |
rhel-only
|
|
|
1bf31c |
Resolves: #1906301
|
|
|
1bf31c |
---
|
|
|
1bf31c |
modules.d/00systemd/module-setup.sh | 2 +-
|
|
|
1bf31c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
1bf31c |
|
|
|
1bf31c |
diff --git a/modules.d/00systemd/module-setup.sh b/modules.d/00systemd/module-setup.sh
|
|
|
1bf31c |
index 4ab2a896..1f0b5dad 100755
|
|
|
1bf31c |
--- a/modules.d/00systemd/module-setup.sh
|
|
|
1bf31c |
+++ b/modules.d/00systemd/module-setup.sh
|
|
|
1bf31c |
@@ -225,7 +225,7 @@ install() {
|
|
|
1bf31c |
systemd-ask-password-console.service \
|
|
|
1bf31c |
systemd-ask-password-plymouth.service \
|
|
|
1bf31c |
; do
|
|
|
1bf31c |
- systemctl -q --root "$initdir" add-wants "$i" systemd-vconsole-setup.service
|
|
|
1bf31c |
+ systemctl -q --root "$initdir" add-wants "$i" systemd-vconsole-setup.service 2>/dev/null
|
|
|
1bf31c |
done
|
|
|
1bf31c |
|
|
|
1bf31c |
mkdir -p "$initdir/etc/systemd"
|
|
|
1bf31c |
|