]> code.ossystems Code Review - openembedded-core.git/commit
wic/bootimg-efi: IMAGE_EFI_BOOT_FILES variable added to separate bootimg-efi and...
authorKhairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Mon, 14 Sep 2020 10:10:27 +0000 (18:10 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Sep 2020 21:46:49 +0000 (22:46 +0100)
commit945339e06b273df1935cfd784f548ef57e0b7f4c
tree1c51e9b7d18a2b351f29081c5255c7731ee81b47
parent790f8a5bfbd1851226fa5fc5b09e79f6396e747d
wic/bootimg-efi: IMAGE_EFI_BOOT_FILES variable added to separate bootimg-efi and bootimg-partition

Due to recent changes in bootimg-efi to include IMAGE_BOOT_FILES,
when both bootimg-partition and bootimg-efi occur in a single .wks
and IMAGE_BOOT_FILES are defined, files listed in IMAGE_BOOT_FILES
will be duplicated in both partition.
Since IMAGE_BOOT_FILES are crucial for bootimg-partition, but
optional for bootimg-efi, hence allowing bootimg-efi to have the option
to ignore it.

The new variable, IMAGE_EFI_BOOT_FILES, was added to help handle this
issue. Its basic usage is the same as IMAGE_BOOT_FILES.
Usage example:
        ${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext4;rootfs.img \

This commit is also squashed with the updated testcase to cover for
this change.

[YOCTO #14011]

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types_wic.bbclass
meta/lib/oeqa/selftest/cases/wic.py
scripts/lib/wic/plugins/source/bootimg-efi.py