Blame 0028-98systemd-fixup-rootfs-generator-installation-path.patch

Zbigniew Jędrzejewski-Szmek 7f4a44
From c0957b501218e5d1b8520da12e81c4659b867c2e Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 7f4a44
From: Hannes Reinecke <hare@suse.de>
Zbigniew Jędrzejewski-Szmek 7f4a44
Date: Tue, 20 May 2014 11:20:10 +0200
Zbigniew Jędrzejewski-Szmek 7f4a44
Subject: [PATCH] 98systemd: fixup rootfs-generator installation path
Zbigniew Jędrzejewski-Szmek 7f4a44
Zbigniew Jędrzejewski-Szmek 7f4a44
The rootfs-generator was installed in the wrong path
Zbigniew Jędrzejewski-Szmek 7f4a44
in the initrd, cause it never to be run.
Zbigniew Jędrzejewski-Szmek 7f4a44
Zbigniew Jędrzejewski-Szmek 7f4a44
References: bnc#878714
Zbigniew Jędrzejewski-Szmek 7f4a44
Zbigniew Jędrzejewski-Szmek 7f4a44
Signed-off-by: Hannes Reinecke <hare@suse.de>
Zbigniew Jędrzejewski-Szmek 7f4a44
---
Zbigniew Jędrzejewski-Szmek 7f4a44
 modules.d/98systemd/module-setup.sh | 2 +-
Zbigniew Jędrzejewski-Szmek 7f4a44
 1 file changed, 1 insertion(+), 1 deletion(-)
Zbigniew Jędrzejewski-Szmek 7f4a44
Zbigniew Jędrzejewski-Szmek 7f4a44
diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh
Zbigniew Jędrzejewski-Szmek 7f4a44
index e7bf73b9c9..cf1b2e71f1 100755
Zbigniew Jędrzejewski-Szmek 7f4a44
--- a/modules.d/98systemd/module-setup.sh
Zbigniew Jędrzejewski-Szmek 7f4a44
+++ b/modules.d/98systemd/module-setup.sh
Zbigniew Jędrzejewski-Szmek 7f4a44
@@ -192,7 +192,7 @@ install() {
Zbigniew Jędrzejewski-Szmek 7f4a44
     inst_script "$moddir/dracut-mount.sh" /bin/dracut-mount
Zbigniew Jędrzejewski-Szmek 7f4a44
     inst_script "$moddir/dracut-pre-pivot.sh" /bin/dracut-pre-pivot
Zbigniew Jędrzejewski-Szmek 7f4a44
 
Zbigniew Jędrzejewski-Szmek 7f4a44
-    inst_script "$moddir/rootfs-generator.sh" /lib/systemd/system-generators/dracut-rootfs-generator
Zbigniew Jędrzejewski-Szmek 7f4a44
+    inst_script "$moddir/rootfs-generator.sh" $systemdutildir/system-generators/dracut-rootfs-generator
Zbigniew Jędrzejewski-Szmek 7f4a44
 
Zbigniew Jędrzejewski-Szmek 7f4a44
     inst_binary true
Zbigniew Jędrzejewski-Szmek 7f4a44
     ln_r $(type -P true) "/usr/bin/loginctl"
Zbigniew Jędrzejewski-Szmek 7f4a44
-- 
Zbigniew Jędrzejewski-Szmek 7f4a44
1.9.3
Zbigniew Jędrzejewski-Szmek 7f4a44