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

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