Otherwise you get errors about missing MokManager.efi if shim doesn't
exist in the repos (e.g. before the Alpha build)
---
share/runtime-install.tmpl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl
index 686fb0d..8c1fd34 100644
--- a/share/runtime-install.tmpl
+++ b/share/runtime-install.tmpl
@@ -29,7 +29,8 @@ installpkg kernel
installpkg kernel-PAE gpart
%endif
%if basearch in ("i386", "x86_64"):
- installpkg grub2 grub2-tools shim grub2-efi efibootmgr biosdevname memtest86+
syslinux
+ installpkg grub2 grub2-tools biosdevname memtest86+ syslinux
+ installpkg efibootmgr grub2-efi shim shim-unsigned
%endif
%if basearch in ("ppc", "ppc64"):
installpkg grub2 grub2-tools yaboot fbset hfsutils kernel-bootwrapper ppc64-utils
--
1.8.1.4
Show replies by date
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
These both look good to me.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic