]> code.ossystems Code Review - openembedded-core.git/commit
wic: add support for kernel with initramfs bundled
authorChee Yang Lee <chee.yang.lee@intel.com>
Wed, 17 Jul 2019 02:02:42 +0000 (10:02 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Jul 2019 18:23:20 +0000 (19:23 +0100)
commitbac984fbb2d5ad5d13ba3275c8a3e878d8753c58
tree99c521d6773872547168dff12f608af2fe9f4ea0
parent4a46516256c24cb30bc9629371816f893693b488
wic: add support for kernel with initramfs bundled

when INITRAMFS_IMAGE_BUNDLE and INITRAMFS_IMAGE are set, wic should
look for kernel with initramfs image bundled.

Include required variable MACHINE, INITRAMFS_IMAGE_BUNDLE,
INITRAMFS_IMAGE, INITRAMFS_LINK_NAME and KERNEL_IMAGETYPE in WICVARS.
No longer require default value for variable kernel as KERNEL_IMAGETYPE
is not optional variable and included in WICVARS.
image_types_wic to inherit kernel-artifact-names to obtain default
INITRAMFS_LINK_NAME when INITRAMFS_IMAGE_BUNDLE are set.

update wic.Wic2.test_image_env test case to filter optional
variable INITRAMFS_LINK_NAME, INITRAMFS_IMAGE and INITRAMFS_IMAGE_BUNDLE.

Signed-off-by: Chee Yang Lee <chee.yang.lee@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
scripts/lib/wic/plugins/source/bootimg-pcbios.py
scripts/lib/wic/plugins/source/isoimage-isohybrid.py