98systemd: fixup rootfs-generator installation path
PATCH 1/1 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 <[email protected]>
--- modules.d/98systemd/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
modules.d/98systemd/module-setup.sh +1 -1
@@ -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"
Signature · 1 line
1.8.5.2
A message that is not in the archive (sent off-list or not yet received): 1400577610-119478-1-git-send-email-hare-l3A5Bk7waGM@public.gmane.org
Quoted 16 lines · Hannes Reinecke
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 <[email protected]>--- modules.d/98systemd/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)modules.d/98systemd/module-setup.sh +0
-0
modules.d/98systemd/module-setup.sh install() { · line 198
Quoted 8 lines
modules.d/98systemd/module-setup.sh +1
-1@@ -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"
Thanks!