diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2022-12-12 16:18:08 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-13 23:31:40 +0000 |
commit | b03fd83fcbcade02b0fbfe28fc5818552e5daa5d (patch) | |
tree | bd72d0da7bcdcb2b31151d2eb717892b95aaf08f /meta/classes-recipe | |
parent | e911886a9177ddbe5f8006553aa4e8a6b74f9b49 (diff) | |
download | poky-b03fd83fcbcade02b0fbfe28fc5818552e5daa5d.tar.gz |
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.
(From OE-Core rev: ef0d0734866505c1c6e0528a0423e7248afb3ff8)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r-- | meta/classes-recipe/kernel-fitimage.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes-recipe/kernel-fitimage.bbclass index 7980910aa8..ccc132482e 100644 --- a/meta/classes-recipe/kernel-fitimage.bbclass +++ b/meta/classes-recipe/kernel-fitimage.bbclass | |||
@@ -38,7 +38,7 @@ python __anonymous () { | |||
38 | 38 | ||
39 | image = d.getVar('INITRAMFS_IMAGE') | 39 | image = d.getVar('INITRAMFS_IMAGE') |
40 | if image: | 40 | if image: |
41 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') | 41 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_cpio') |
42 | 42 | ||
43 | ubootenv = d.getVar('UBOOT_ENV') | 43 | ubootenv = d.getVar('UBOOT_ENV') |
44 | if ubootenv: | 44 | if ubootenv: |