[OE-core] [warrior] 6/8] classes/image-live.bbclass: Don't hardcode cpio.gz
Armin Kuster
akuster808 at gmail.com
Sun Oct 6 15:24:06 UTC 2019
From: Andrii Bordunov via Openembedded-core <openembedded-core at lists.openembedded.org>
There's INITRAMFS_FSTYPES that can be set differently.
Signed-off-by: Böszörményi Zoltán <zboszor at pr.hu>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
meta/classes/image-live.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index af71be5..54058b3 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}"
--
2.7.4
More information about the Openembedded-core
mailing list