From 1eafcc65e98d33ddc439c160511e5b36aa6aaf2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 5 Dec 2012 17:00:01 +0100 Subject: [PATCH] only ix86/x86_64 and ppc/ppc64 need grub2 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 file changed, 2 insertions(+), 3 deletions(-) diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl index 2ba1818a..ab35fbb4 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 s390utils-base s390utils-cmsfs-fuse