[PATCH lorax/master 2/2] runtime: install dracut-{nohostonly, norescue}

Will Woods wwoods at redhat.com
Mon Mar 18 14:42:59 UTC 2013


dracut tries to build hostonly initrd by default without the nohostonly
package/config; this results in a bunch of error messages about missing
files in proc and sys, and then the resulting initrd doesn't work 'cuz
it doesn't have any drivers for anything.
---
 share/runtime-install.tmpl | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl
index 8c1fd34..52bc3c0 100644
--- a/share/runtime-install.tmpl
+++ b/share/runtime-install.tmpl
@@ -43,10 +43,13 @@ installpkg kernel
 installpkg plymouth
 
 ## extra dracut modules
-installpkg dracut-network anaconda-dracut
+installpkg anaconda-dracut dracut-network dracut-nohostonly dracut-norescue
 
 ## fedup-dracut handles upgrades
-installpkg fedup-dracut fedup-dracut-plymouth *-fedup-dracut
+installpkg fedup-dracut fedup-dracut-plymouth
+## install other fedup scripts, if there are any. It's OK if there aren't.
+log "Looking for extra fedup-dracut packages..."
+-installpkg *-fedup-dracut
 
 ## rpcbind or portmap needed by dracut nfs module
 installpkg rpcbind
-- 
1.8.1.4



More information about the anaconda-patches mailing list