grub-efi: Add xen_boot support when 'xen' is in DISTRO_FEATURES for aarch64
PATCH 1/1 grub-efi: Add xen_boot support when 'xen' is in DISTRO_FEATURES for aarch64
'xen-boot' module is available only for aarch64.
Signed-off-by Kamil Dziezyk <[email protected]>
--- meta/recipes-bsp/grub/grub-efi_2.06.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-bsp/grub/grub-efi_2.06.bb +3 -0
@@ -73,6 +73,9 @@ do_install() { GRUB_BUILDIN ?= "boot linux ext2 fat serial part_msdos part_gpt normal \ efi_gop iso9660 configfile search loadenv test" +# 'xen_boot' is a module valid only for aarch64 +GRUB_BUILDIN:append:aarch64 = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' xen_boot', '', d)}" + do_deploy() { install -m 644 ${B}/${GRUB_IMAGE_PREFIX}${GRUB_IMAGE} ${DEPLOYDIR} }
Signature · 1 line
2.17.1