From: Böszörményi Zoltán via Openembedded-core Date: Thu, 26 Sep 2019 09:05:32 +0000 (+0200) Subject: classes/image-live.bbclass: Don't hardcode cpio.gz X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~13166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=141d02400696020e83df3edcf13021fde139d261;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git classes/image-live.bbclass: Don't hardcode cpio.gz There's INITRAMFS_FSTYPES that can be set differently. Signed-off-by: Böszörményi Zoltán Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index af71be5093d..54058b350dd 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass @@ -37,7 +37,7 @@ do_bootimg[depends] += "dosfstools-native:do_populate_sysroot \ LABELS_LIVE ?= "boot install" ROOT_LIVE ?= "root=/dev/ram0" INITRD_IMAGE_LIVE ?= "${MLPREFIX}core-image-minimal-initramfs" -INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.cpio.gz" +INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.${INITRAMFS_FSTYPES}" LIVE_ROOTFS_TYPE ?= "ext4" ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${LIVE_ROOTFS_TYPE}"