diff options
author | Awais Belal <Awais_Belal@mentor.com> | 2021-01-29 17:42:39 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-30 10:41:04 +0000 |
commit | 44ecc935b2ba919ed5bf026c02cdb814e207d996 (patch) | |
tree | c57ee85224268565a09fde840d5e18a433be342b /documentation/ref-manual/migration-1.4.rst | |
parent | 5e2450731c1f70fb72af0b8349905b359d3cd2b1 (diff) | |
download | poky-44ecc935b2ba919ed5bf026c02cdb814e207d996.tar.gz |
kernel.bbclass: fix deployment for initramfs images
The do_bundle_initramfs() only processes kernel image
types that are found in KERNEL_IMAGETYPE_FOR_MAKE whereas
the build system can generate other types that are not
directly supported by the kernel build system. In which
case when we come to the deploy phase not all the images
mentioned in KERNEL_IMAGETYPES would have a respective
initramfs bundled image. An example is using vmlinux.gz
in KERNEL_IMAGETYPES and enabling initramfs and then we
see
install: cannot stat 'arch/arm64/boot/vmlinux.gz.initramfs': No such file or directory
So we align the deploy phase with bundle initramfs phase
and pick up relevant initramfs bundled images using
KERNEL_IMAGETYPE_FOR_MAKE instead of KERNEL_IMAGETYPES.
(From OE-Core rev: 526bdd88ccd758204452579333ba188e29270bde)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/migration-1.4.rst')
0 files changed, 0 insertions, 0 deletions