summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2018-07-03 11:01:39 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-05 11:39:06 +0100
commitb6bb7e134569c47dcb313ef22a9cdf99928d6aae (patch)
tree8a0dd066b19d60929128c13631a033a3af92c3c0 /meta
parent6a51dbf9bbb9a8f78b7afa62da4db36e970ded55 (diff)
downloadpoky-b6bb7e134569c47dcb313ef22a9cdf99928d6aae.tar.gz
kernel-fitimage: add support for ext2.gz initramfs files
(From OE-Core rev: e2e0c91c2c8229d9ed0958de98b5a9b14c6805d1) Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-fitimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index db79e96137..a1d0dda55d 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -404,7 +404,7 @@ fitimage_assemble() {
404 # 404 #
405 if [ "x${ramdiskcount}" = "x1" ] ; then 405 if [ "x${ramdiskcount}" = "x1" ] ; then
406 # Find and use the first initramfs image archive type we find 406 # Find and use the first initramfs image archive type we find
407 for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.gz cpio; do 407 for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.gz ext2.gz cpio; do
408 initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.${img}" 408 initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.${img}"
409 echo "Using $initramfs_path" 409 echo "Using $initramfs_path"
410 if [ -e "${initramfs_path}" ]; then 410 if [ -e "${initramfs_path}" ]; then