Blame 0097-dracut-systemd-module-setup.sh-remove-duplicate-vcon.patch

Harald Hoyer bb31e7
From 64c34f34593984d93d4781f1e5fa008871e11963 Mon Sep 17 00:00:00 2001
Harald Hoyer bb31e7
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer bb31e7
Date: Wed, 11 Nov 2015 12:16:13 +0100
Harald Hoyer bb31e7
Subject: [PATCH] dracut-systemd/module-setup.sh: remove duplicate vconsole
Harald Hoyer bb31e7
 wants
Harald Hoyer bb31e7
Harald Hoyer bb31e7
Adding the dependency on vconsole is already done in the 00systemd
Harald Hoyer bb31e7
module and the rescue.service has this already in the unit file.
Harald Hoyer bb31e7
---
Harald Hoyer bb31e7
 modules.d/98dracut-systemd/module-setup.sh | 11 -----------
Harald Hoyer bb31e7
 1 file changed, 11 deletions(-)
Harald Hoyer bb31e7
Harald Hoyer bb31e7
diff --git a/modules.d/98dracut-systemd/module-setup.sh b/modules.d/98dracut-systemd/module-setup.sh
Harald Hoyer bb31e7
index d917557..900162c 100755
Harald Hoyer bb31e7
--- a/modules.d/98dracut-systemd/module-setup.sh
Harald Hoyer bb31e7
+++ b/modules.d/98dracut-systemd/module-setup.sh
Harald Hoyer bb31e7
@@ -43,17 +43,6 @@ install() {
Harald Hoyer bb31e7
 
Harald Hoyer bb31e7
     inst_script "$moddir/rootfs-generator.sh" $systemdutildir/system-generators/dracut-rootfs-generator
Harald Hoyer bb31e7
 
Harald Hoyer bb31e7
-    for i in \
Harald Hoyer bb31e7
-        emergency.target \
Harald Hoyer bb31e7
-        rescue.service \
Harald Hoyer bb31e7
-        systemd-ask-password-console.service \
Harald Hoyer bb31e7
-        systemd-ask-password-plymouth.service \
Harald Hoyer bb31e7
-        ; do
Harald Hoyer bb31e7
-        mkdir -p "${initdir}${systemdsystemunitdir}/${i}.wants"
Harald Hoyer bb31e7
-        ln_r "${systemdsystemunitdir}/systemd-vconsole-setup.service" \
Harald Hoyer bb31e7
-            "${systemdsystemunitdir}/${i}.wants/systemd-vconsole-setup.service"
Harald Hoyer bb31e7
-    done
Harald Hoyer bb31e7
-
Harald Hoyer bb31e7
     mkdir -p "${initdir}/$systemdsystemunitdir/initrd.target.wants"
Harald Hoyer bb31e7
     for i in \
Harald Hoyer bb31e7
         dracut-cmdline.service \