diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2016-09-15 15:15:43 +0200 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2017-10-17 04:38:27 +0200 |
commit | f7528958550a83f640699ffa1a6e64bcbe594d38 (patch) | |
tree | ecaf725036d72b596392ba488a32b9027fb33550 /meta | |
parent | 13bfee13fc426d9ef05b788f6a0bc521271133ae (diff) | |
download | openembedded-core-contrib-f7528958550a83f640699ffa1a6e64bcbe594d38.tar.gz |
kernel.bbclass: allow uncompressed initramfs archives
The code failed to copy the initramfs in case it was a plain
cpio archive.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 73b902be29..0b02ebf4b6 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -172,7 +172,7 @@ copy_initramfs() { mkdir -p ${B}/usr # Find and use the first initramfs image archive type we find rm -f ${B}/usr/${INITRAMFS_IMAGE}-${MACHINE}.cpio - for img in cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz; do + for img in cpio cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz; do if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" ]; then cp ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img ${B}/usr/. case $img in |