EFI and related packages are only for x86_64

Conditionalize shim and grub2-efi and whatnot on being x86_64 for now -
at some point they'll turn into "efi architectures" and maybe even split
for SB vs not SB, but for now, this is fine.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2013-08-01 10:17:48 -04:00
parent f3cd910c11
commit 99b9300602
1 changed files with 3 additions and 1 deletions

View File

@ -28,9 +28,11 @@ installpkg kernel
%if basearch == "i386":
installpkg kernel-PAE gpart
%endif
%if basearch == "x86_64":
installpkg efibootmgr grub2-efi shim shim-unsigned
%endif
%if basearch in ("i386", "x86_64"):
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