From: Kamil Dziezyk Date: Thu, 13 Jan 2022 11:16:37 +0000 (+0100) Subject: grub-efi: Add xen_boot support when 'xen' is in DISTRO_FEATURES for aarch64 X-Git-Tag: uninative-3.5~256 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bfabc6d4f8742cc1fdeb49c180b0f78faf5739a2;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-bsp/grub/grub-efi_2.06.bb b/meta/recipes-bsp/grub/grub-efi_2.06.bb index a8cc209a02..df5f23e22e 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.06.bb +++ b/meta/recipes-bsp/grub/grub-efi_2.06.bb @@ -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} }