intel / meta-acrn

Layer to integrate the ACRN hypervisor with the Yocto Project.
http://projectacrn.org/
MIT License
21 stars 40 forks source link

acrn-bootimg-efi.py: enhance grub.cfg - part label #405

Closed saininav closed 2 years ago

saininav commented 2 years ago

acrn-bootimg-efi.py: enhance grub.cfg - part label

Allow grub bootloader to pick kernel module by partition label

User can pass the partition label i.e PART_LABEL_vm0 ??= "rtboot" PART_LABEL_vm1 ??= "boot" If present Grub will detect the partition based on the label instead of searching for the kernel file. This supports when using kernels located on different partitions with identical kernel file names.

User has to pass complete path i.e KERNEL_IMAGE_vm0 ??= "/custom path/bzImage"

Signed-off-by: Stephan Linke stephan.linke@intel.com Signed-off-by: Naveen Saini naveen.kumar.saini@intel.com