Merge "Makes EFI images bootable by bios"
This commit is contained in:
commit
5df71c0082
@ -150,6 +150,9 @@ function install_grub2 {
|
||||
case $ARCH in
|
||||
"x86_64"|"amd64")
|
||||
GRUB_OPTS="--target=x86_64-efi"
|
||||
# This call installs grub for BIOS compatability
|
||||
# which makes portable EFI/BIOS images.
|
||||
$GRUBNAME --modules="$modules" --target=i386-pc $BOOT_DEV
|
||||
;;
|
||||
# At this point, we don't need to override the target
|
||||
# for any other architectures.
|
||||
|
@ -4,7 +4,7 @@
|
||||
"8": {
|
||||
"extlinux": "syslinux-extlinux",
|
||||
"grub-pc": "grub2-tools grub2",
|
||||
"grub-efi-amd64": "grub2-tools grub2-efi-x64 grub2-efi-x64-modules",
|
||||
"grub-efi-amd64": "grub2-tools grub2-pc grub2-efi-x64 grub2-efi-x64-modules",
|
||||
"grub-efi-arm64": "grub2-tools grub2-efi-aa64 grub2-efi-aa64-modules",
|
||||
"grub-efi-aarch64": "grub2-tools grub2-efi-aa64 grub2-efi-aa64-modules",
|
||||
"grub-efi": "grub2-tools grub2-efi",
|
||||
@ -29,7 +29,7 @@
|
||||
"redhat": {
|
||||
"extlinux": "syslinux-extlinux",
|
||||
"grub-pc": "grub2-tools grub2",
|
||||
"grub-efi-amd64": "grub2-tools grub2-efi-x64 grub2-efi-x64-modules",
|
||||
"grub-efi-amd64": "grub2-tools grub2-pc grub2-efi-x64 grub2-efi-x64-modules",
|
||||
"grub-efi-arm64": "grub2-tools grub2-efi-aa64 grub2-efi-aa64-modules",
|
||||
"grub-efi-aarch64": "grub2-tools grub2-efi-aa64 grub2-efi-aa64-modules",
|
||||
"grub-efi": "grub2-tools grub2-efi",
|
||||
@ -40,7 +40,7 @@
|
||||
"dkms_package": "dkms",
|
||||
"extlinux": "extlinux",
|
||||
"grub-pc": "grub-pc",
|
||||
"grub-efi-amd64": "grub-efi",
|
||||
"grub-efi-amd64": "grub-efi grub-pc-bin",
|
||||
"grub-efi-arm64": "grub-efi-arm64",
|
||||
"grub-ppc64": "grub-ieee1275"
|
||||
}
|
||||
|
6
releasenotes/notes/efi-bios-images-052283eabba98b90.yaml
Normal file
6
releasenotes/notes/efi-bios-images-052283eabba98b90.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The ``bootloader`` element now co-installs a BIOS bootloader for
|
||||
x86-64 when ``DIB_BLOCK_DEVICE=efi`` is set. This makes images
|
||||
that are EFI and BIOS cross-compatiable.
|
Loading…
Reference in New Issue
Block a user