]> 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, 20 May 2014 09:40:42 +0000 (11:40 +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>
modules.d/98systemd/module-setup.sh

index e7bf73b9c9a521902284e23a813b8f18e029f2a1..cf1b2e71f12a6562c4475fd02a254f7b553a1293 100755 (executable)
@@ -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"