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.
This commit is contained in:
Dan Horák 2012-12-05 17:00:01 +01:00 committed by Vratislav Podzimek
parent a5abaf883a
commit 1eafcc65e9
1 changed files with 2 additions and 3 deletions

View File

@ -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