12c0368018
This adds support for BIOS booting using grub2. The bios config file and grub2 modules are under /boot/grub2/ Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
32 lines
927 B
Cheetah
32 lines
927 B
Cheetah
## livemedia-creator: Install packages needed for iso creation using per-arch templates
|
|
<%page args="basearch"/>
|
|
|
|
## arch-specific bootloader packages
|
|
%if basearch == "aarch64":
|
|
installpkg efibootmgr
|
|
installpkg grub2-efi-aa64-cdboot shim-aa64
|
|
%endif
|
|
%if basearch in ("arm", "armhfp"):
|
|
installpkg efibootmgr
|
|
installpkg grub2-efi-arm-cdboot
|
|
installpkg uboot-tools
|
|
%endif
|
|
%if basearch == "x86_64":
|
|
installpkg grub2-tools-efi
|
|
installpkg efibootmgr
|
|
installpkg shim-x64 grub2-efi-x64-cdboot
|
|
%endif
|
|
%if basearch in ("i386", "x86_64"):
|
|
installpkg biosdevname memtest86+
|
|
installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
|
|
installpkg grub2-pc-modules
|
|
%endif
|
|
%if basearch in ("ppc64le"):
|
|
installpkg powerpc-utils
|
|
installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
|
|
installpkg grub2-${basearch}
|
|
%endif
|
|
%if basearch == "s390x":
|
|
installpkg s390utils-base
|
|
%endif
|