Skip to contentSkip to conversation

98systemd: fixup rootfs-generator installation path

PATCH In review Hannes Reinecke 2 participants 2 messages May 20, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

---
 modules.d/98systemd/module-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
modules.d/98systemd/module-setup.sh +1 -1
index e14ce39..4516b9a 100755
@@ -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

#2 lore raw
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

---
 modules.d/98systemd/module-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
modules.d/98systemd/module-setup.sh +0 -0
index e14ce39..4516b9a 100755

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!

http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=ed2005fa5ba7d618bbb2c63bac616fba32a17a5d