[PATCH] Make sure we have wait_for_kickstart (#847831)

Jesse Keating jkeating at redhat.com
Fri Aug 17 18:14:50 UTC 2012


More dracut whack-a-mole
---
 dracut/kickstart-genrules.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dracut/kickstart-genrules.sh b/dracut/kickstart-genrules.sh
index 880c553..d2b33a4 100755
--- a/dracut/kickstart-genrules.sh
+++ b/dracut/kickstart-genrules.sh
@@ -1,6 +1,9 @@
 #!/bin/sh
 # generate udev rules for fetching kickstarts.
 
+# see if we need anaconda-lib.sh
+command -v wait_for_kickstart >/dev/null || . /lib/anaconda-lib.sh
+
 case "${kickstart%%:*}" in
     http|https|ftp|nfs)
         # handled by fetch-kickstart-net in the online hook
-- 
1.7.11.2



More information about the anaconda-patches mailing list