From: Patrick Williams Date: Mon, 12 Dec 2022 22:18:08 +0000 (-0600) Subject: kernel-fitimage: reduce dependency to the cpio X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2303 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef0d0734866505c1c6e0528a0423e7248afb3ff8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git kernel-fitimage: reduce dependency to the cpio In order to build a fitimage, we don't need the image to be "complete" but we need the cpio portion of it built since the cpio is what ends up inside the FIT. By reducing the dependency to `do_image_cpio` we are able to include an image's rootfs as the ramdisk for a FIT and then bundle that FIT into a larger SPI flash layout. Signed-off-by: Patrick Williams Signed-off-by: Alexandre Belloni --- diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes-recipe/kernel-fitimage.bbclass index 7980910aa8c..ccc132482e9 100644 --- a/meta/classes-recipe/kernel-fitimage.bbclass +++ b/meta/classes-recipe/kernel-fitimage.bbclass @@ -38,7 +38,7 @@ python __anonymous () { image = d.getVar('INITRAMFS_IMAGE') if image: - d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') + d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_cpio') ubootenv = d.getVar('UBOOT_ENV') if ubootenv: