[lorax] only ix86/x86_64 and ppc/ppc64 need grub2

Dan HorĂ¡k dan at danny.cz
Wed Dec 5 16:00:01 UTC 2012


AFAIK grub2 is used only ix86/x86_64 and ppc/pcc64 arches. This will silence
the error thrown on arches where the package doesn't exist.
---
 share/runtime-install.tmpl |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl
index e9e3da3..6fe5768 100644
--- a/share/runtime-install.tmpl
+++ b/share/runtime-install.tmpl
@@ -12,7 +12,6 @@ installpkg pigz
 
 ## firstaidkit (rescue mode) packages
 installpkg firstaidkit-plugin-{passwd,key-recovery,mdadm-conf}
-installpkg grub2 grub2-tools
 
 ## kernel and firmware
 installpkg kernel
@@ -30,10 +29,10 @@ installpkg kernel
     installpkg kernel-PAE gpart
 %endif
 %if basearch in ("i386", "x86_64"):
-    installpkg shim grub2-efi efibootmgr biosdevname memtest86+
+    installpkg grub2 grub2-tools shim grub2-efi efibootmgr biosdevname memtest86+
 %endif
 %if basearch in ("ppc", "ppc64"):
-    installpkg yaboot fbset hfsutils kernel-bootwrapper ppc64-utils
+    installpkg grub2 grub2-tools yaboot fbset hfsutils kernel-bootwrapper ppc64-utils
 %endif
 %if basearch == "s390x":
     installpkg lsscsi modutils mount s390utils-base s390utils-cmsfs-fuse
-- 
1.7.7.6



More information about the anaconda-patches mailing list