]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
98systemd: fixup rootfs-generator installation path
authorHannes Reinecke <hare@suse.de>
Tue, 20 May 2014 09:20:10 +0000 (11:20 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 10:00:06 +0000 (12:00 +0200)
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 <hare@suse.de>
(cherry picked from commit ed2005fa5ba7d618bbb2c63bac616fba32a17a5d)

modules.d/98systemd/module-setup.sh

index 52edd80e209eaa74b8152ff0326ecfc17d7363f3..36a0505b5d74cfc99a6b3ba6216d06fc240e102a 100755 (executable)
@@ -188,7 +188,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"