Re: [OE-core] [PATCH] kernel: Ensure an initramdfs is added if configured

2019-02-23 Thread Robert P. J. Day
"initramdfs"? rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca/dokuwiki Twitter: http://twitter.com/rpjday

[OE-core] [PATCH] kernel: Ensure an initramdfs is added if configured

2019-02-23 Thread Richard Purdie
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

[OE-core] [PATCH] kernel: Ensure an initramdfs is added if configured

2019-02-23 Thread Richard Purdie
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. [YOCTO #129