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

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