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:
parent
a5abaf883a
commit
1eafcc65e9
@ -12,7 +12,6 @@ installpkg pigz
|
|||||||
|
|
||||||
## firstaidkit (rescue mode) packages
|
## firstaidkit (rescue mode) packages
|
||||||
installpkg firstaidkit-plugin-{passwd,key-recovery,mdadm-conf}
|
installpkg firstaidkit-plugin-{passwd,key-recovery,mdadm-conf}
|
||||||
installpkg grub2 grub2-tools
|
|
||||||
|
|
||||||
## kernel and firmware
|
## kernel and firmware
|
||||||
installpkg kernel
|
installpkg kernel
|
||||||
@ -30,10 +29,10 @@ installpkg kernel
|
|||||||
installpkg kernel-PAE gpart
|
installpkg kernel-PAE gpart
|
||||||
%endif
|
%endif
|
||||||
%if basearch in ("i386", "x86_64"):
|
%if basearch in ("i386", "x86_64"):
|
||||||
installpkg shim grub2-efi efibootmgr biosdevname memtest86+
|
installpkg grub2 grub2-tools shim grub2-efi efibootmgr biosdevname memtest86+
|
||||||
%endif
|
%endif
|
||||||
%if basearch in ("ppc", "ppc64"):
|
%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
|
%endif
|
||||||
%if basearch == "s390x":
|
%if basearch == "s390x":
|
||||||
installpkg lsscsi modutils s390utils-base s390utils-cmsfs-fuse
|
installpkg lsscsi modutils s390utils-base s390utils-cmsfs-fuse
|
||||||
|
Loading…
Reference in New Issue
Block a user