diff options
author | Andrii Bordunov via Openembedded-core <openembedded-core@lists.openembedded.org> | 2019-09-26 11:04:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-08 22:51:35 +0100 |
commit | 5cfe5f0f7b31a84ab73be12c2768a1bdc6ff65b1 (patch) | |
tree | 215db0b7b4d544ed5b8283e3fc49b92757d7ce7b | |
parent | 88de1b03a08f5282e2a228214d8733219f988c16 (diff) | |
download | poky-5cfe5f0f7b31a84ab73be12c2768a1bdc6ff65b1.tar.gz |
classes/image-live.bbclass: Don't hardcode cpio.gz
There's INITRAMFS_FSTYPES that can be set differently.
(From OE-Core rev: 66c05bb2ca6ecdb621ae1e5bdf28e7aa768d9aba)
Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/image-live.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index af71be5093..54058b350d 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 \ | |||
37 | LABELS_LIVE ?= "boot install" | 37 | LABELS_LIVE ?= "boot install" |
38 | ROOT_LIVE ?= "root=/dev/ram0" | 38 | ROOT_LIVE ?= "root=/dev/ram0" |
39 | INITRD_IMAGE_LIVE ?= "${MLPREFIX}core-image-minimal-initramfs" | 39 | INITRD_IMAGE_LIVE ?= "${MLPREFIX}core-image-minimal-initramfs" |
40 | INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.cpio.gz" | 40 | INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.${INITRAMFS_FSTYPES}" |
41 | 41 | ||
42 | LIVE_ROOTFS_TYPE ?= "ext4" | 42 | LIVE_ROOTFS_TYPE ?= "ext4" |
43 | ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${LIVE_ROOTFS_TYPE}" | 43 | ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${LIVE_ROOTFS_TYPE}" |