Skip to content
Snippets Groups Projects

oniro-linux.conf: Specify bootindex for qemu root devices

Merged Pavel Zhukov requested to merge landgraf/oniro:efi_boot into kirkstone
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -91,6 +91,11 @@ EFI_PROVIDER = "grub-efi"
@@ -91,6 +91,11 @@ EFI_PROVIDER = "grub-efi"
MACHINE_FEATURES:qemux86-64 += "efi"
MACHINE_FEATURES:qemux86-64 += "efi"
MACHINE_FEATURES:qemux86 += "efi"
MACHINE_FEATURES:qemux86 += "efi"
 
# Add bootindex to qemu boot device to prevent boot order from being changed in ovmf file
 
# and not break boot order with EFI. See qemuboot.bbclass for more information
 
QB_ROOTFS_EXTRA_OPT:qemux86-64 += ",bootindex=0"
 
QB_ROOTFS_EXTRA_OPT:qemux86 += ",bootindex=0"
 
# Install the grubenv file deployed by oniro-grub-bootconf package into the EFI partition.
# Install the grubenv file deployed by oniro-grub-bootconf package into the EFI partition.
IMAGE_EFI_BOOT_FILES += "grubenv;EFI/BOOT/grubenv"
IMAGE_EFI_BOOT_FILES += "grubenv;EFI/BOOT/grubenv"
Loading