Added dependency do_prepare_wic_build -> rmc-db:do_deploy to deploy EFI artifacts before assembling wic image.
Added efi_bootfs_populate API. Signed-off-by: Ed Bartosh <[email protected]> --- classes/rmc-boot.bbclass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/classes/rmc-boot.bbclass b/classes/rmc-boot.bbclass index 37c3e30..2e5ede2 100644 --- a/classes/rmc-boot.bbclass +++ b/classes/rmc-boot.bbclass @@ -7,6 +7,7 @@ RMC_BOOTLOADER ?= "systemd-boot" inherit ${RMC_BOOTLOADER} do_bootimg[depends] += "${MLPREFIX}rmc-db:do_deploy" +do_prepare_wic_build[depends] += "${MLPREFIX}rmc-db:do_deploy" efi_populate_append() { if [ -f ${DEPLOY_DIR_IMAGE}/rmc.db ]; then @@ -15,3 +16,9 @@ efi_populate_append() { rm -f ${DEST}/rmc.db fi } + +efi_bootfs_populate() { + bootfs_dir="${WORKDIR}/bootfs" + efi_populate $bootfs_dir + cp --dereference ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE} $bootfs_dir/vmlinuz +} -- 2.1.4 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
