[PATCH] Use the real path to dracut-lib.sh (#851362)

Jesse Keating jkeating at redhat.com
Thu Sep 6 22:36:13 UTC 2012


This goes with a lorax patch that keeps the file around.  Since dracut
doesn't expose these files via /run/ anymore we have to keep around the
file(s) we want to use from stage2 environment.
---
 data/systemd/anaconda-generator | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/systemd/anaconda-generator b/data/systemd/anaconda-generator
index 71e35e7..4c8b828 100755
--- a/data/systemd/anaconda-generator
+++ b/data/systemd/anaconda-generator
@@ -2,7 +2,7 @@
 # anaconda-generator: generate services needed for anaconda operation
 
 # Source in the dracut lib so we can parse cmd line arguments
-. /run/initramfs/usr/lib/dracut-lib.sh
+. /usr/lib/dracut/modules.d/99base/dracut-lib.sh
 
 # set up dirs
 systemd_dir=/lib/systemd/system
-- 
1.7.11.4



More information about the anaconda-patches mailing list