summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gnu-config
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-21 16:00:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-24 16:48:38 +0000
commit776bf0b46b935f068168b403a5d67162ef27e97a (patch)
tree7ba2501b67804b08a58b3e91cb29bbffad9f3784 /meta/recipes-devtools/gnu-config
parent459c0539171ebeebc2e48b004f5854c5c57da2e0 (diff)
downloadpoky-776bf0b46b935f068168b403a5d67162ef27e97a.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) (From OE-Core rev: 5b5604e288af755eb5553a97d26533445b2cf94b) (From OE-Core rev: 378f720090508d5c8c04f1b0265ba729f6ce827b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gnu-config')
0 files changed, 0 insertions, 0 deletions