From: Hannes Reinecke Date: Tue, 20 May 2014 09:20:10 +0000 (+0200) Subject: 98systemd: fixup rootfs-generator installation path X-Git-Tag: 038~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ed2005fa5ba7d618bbb2c63bac616fba32a17a5d;p=thirdparty%2Fdracut.git 98systemd: fixup rootfs-generator installation path The rootfs-generator was installed in the wrong path in the initrd, cause it never to be run. References: bnc#878714 Signed-off-by: Hannes Reinecke --- diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh index e7bf73b9c..cf1b2e71f 100755 --- a/modules.d/98systemd/module-setup.sh +++ b/modules.d/98systemd/module-setup.sh @@ -192,7 +192,7 @@ install() { inst_script "$moddir/dracut-mount.sh" /bin/dracut-mount inst_script "$moddir/dracut-pre-pivot.sh" /bin/dracut-pre-pivot - inst_script "$moddir/rootfs-generator.sh" /lib/systemd/system-generators/dracut-rootfs-generator + inst_script "$moddir/rootfs-generator.sh" $systemdutildir/system-generators/dracut-rootfs-generator inst_binary true ln_r $(type -P true) "/usr/bin/loginctl"