diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-21 16:00:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-25 10:42:56 +0000 |
commit | 5b5604e288af755eb5553a97d26533445b2cf94b (patch) | |
tree | c298350ea8c18fff00d3d29f95356efe1be5b5e7 /meta/classes/devupstream.bbclass | |
parent | 0ee636bc89d93282cb3d3cd747b3dd046f6e5a9c (diff) | |
download | openembedded-core-5b5604e288af755eb5553a97d26533445b2cf94b.tar.gz |
kernel: Ensure an initramfs is added if configured
If ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio does not exist,
nor any of the compressed variants, nothing is copied to kernel build's
./usr directory.
The code does not fail, but silently proceeds without a bundled initramfs.
Change to fail and tell the user something is wrong.
Also, if an initramfs is found, contrary to the comments, it does not stop
at the first uncompressed/compressed cpio image found. Instead it keeps
processing all so the last is used. Fix this to behave as per the comments.
[YOCTO #12909]
(Patch by Leon Woestenberg)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/devupstream.bbclass')
0 files changed, 0 insertions, 0 deletions