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