Can you provide the contents of /home/5267d0dea6/yocto/layers/custom/meta-customer/meta-customer-distro/recipes-extended/images/customer-image.bb:do_image_wic
the combo mender-grub + mender-bios, set EFI_PROVIDER to null, this consequently trigger an issue when wic is invoked because during the build process on do_image_wic is used the kickstart file genericx86.wks (from ./meta-yocto-bsp/wic/genericx86.wks.in), that inside, use a reference of EFI_PROVIDER as argument for the loader var.
INFO: Creating image(s)...
ERROR: unrecognized bootimg-efi loader:
WARNING: exit code 1 from a shell command.
the delta betwheen bitbake -e on dunfell and on the commit:71286ec47fe856179f9aa1bf7f6445c1db4e640c, confirm the
analisys above, EFI_PROVIDER is ‘null’ .
mender-bios is needed for a bootable artifact. It installs the grub bootloader on the resulting image, and with this commit.
in conjunction with the default wks file from poky, the build always fail. The only workaround possible is to provide a custom wks file with hardcoded --sourceparams=“loader=grub-EFI”, because EFI_PROVIDER variable is null.
I’m not quite following what needs to change here. Can you provide a detailed setup of how to replicate the reported issue when building with mender-bios? Ideally if you can provide a pull request that fixes the issue that would be great since I don’t really work with the EFI code much at present.
I’m also not quite following. EFI and BIOS setups are mutually incompatible, both can’t be used at the same time. Using EFI_PROVIDER in a recipe is a mistake, since there isn’t one when mender-bios is enabled. Are you sure you don’t just need to add this: