Blame SOURCES/0175-98systemd-fixup-rootfs-generator-installation-path.patch

18971c
From e23057d5376158fb4d7618f3c6f664e415670cf8 Mon Sep 17 00:00:00 2001
18971c
From: Hannes Reinecke <hare@suse.de>
18971c
Date: Tue, 20 May 2014 11:20:10 +0200
18971c
Subject: [PATCH] 98systemd: fixup rootfs-generator installation path
18971c
18971c
The rootfs-generator was installed in the wrong path
18971c
in the initrd, cause it never to be run.
18971c
18971c
References: bnc#878714
18971c
18971c
Signed-off-by: Hannes Reinecke <hare@suse.de>
18971c
(cherry picked from commit ed2005fa5ba7d618bbb2c63bac616fba32a17a5d)
18971c
---
18971c
 modules.d/98systemd/module-setup.sh | 2 +-
18971c
 1 file changed, 1 insertion(+), 1 deletion(-)
18971c
18971c
diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh
18971c
index 52edd80e..36a0505b 100755
18971c
--- a/modules.d/98systemd/module-setup.sh
18971c
+++ b/modules.d/98systemd/module-setup.sh
18971c
@@ -188,7 +188,7 @@ install() {
18971c
     inst_script "$moddir/dracut-mount.sh" /bin/dracut-mount
18971c
     inst_script "$moddir/dracut-pre-pivot.sh" /bin/dracut-pre-pivot
18971c
 
18971c
-    inst_script "$moddir/rootfs-generator.sh" /lib/systemd/system-generators/dracut-rootfs-generator
18971c
+    inst_script "$moddir/rootfs-generator.sh" $systemdutildir/system-generators/dracut-rootfs-generator
18971c
 
18971c
     inst_binary true
18971c
     ln_r $(type -P true) "/usr/bin/loginctl"