diff options
author | Tomasz Meresiński <tomasz.meresinski@comarch.pl> | 2017-09-19 12:36:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-21 09:24:25 +0100 |
commit | beb775ca75d2f0773049491338791c3906014cdb (patch) | |
tree | 2f9b92d8e3206df4f0a6bf724c4623dba7c84170 /meta | |
parent | 950a11c945fce77aebd26576d39d1bc27d1cab94 (diff) | |
download | poky-beb775ca75d2f0773049491338791c3906014cdb.tar.gz |
classes/image_live: fix using squashfs as image filesystem
Different squashfs versions have IMAGE_TYPE with hyphen (eg squashfs-lz4).
Tasks on the other hand have names with underscore (eg do_image_squashfs_lz4).
(From OE-Core rev: ab3cdfbd24844506647b75002f531b0b82b87be4)
Signed-off-by: Tomasz Meresiński <tomasz.meresinski@comarch.pl>
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/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 c1862b1319..7a388d5c60 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass | |||
@@ -34,7 +34,7 @@ do_bootimg[depends] += "dosfstools-native:do_populate_sysroot \ | |||
34 | ${MLPREFIX}syslinux:do_populate_sysroot \ | 34 | ${MLPREFIX}syslinux:do_populate_sysroot \ |
35 | syslinux-native:do_populate_sysroot \ | 35 | syslinux-native:do_populate_sysroot \ |
36 | ${@oe.utils.ifelse(d.getVar('COMPRESSISO', False),'zisofs-tools-native:do_populate_sysroot','')} \ | 36 | ${@oe.utils.ifelse(d.getVar('COMPRESSISO', False),'zisofs-tools-native:do_populate_sysroot','')} \ |
37 | ${PN}:do_image_${LIVE_ROOTFS_TYPE} \ | 37 | ${PN}:do_image_${@d.getVar('LIVE_ROOTFS_TYPE').replace('-', '_')} \ |
38 | " | 38 | " |
39 | 39 | ||
40 | 40 | ||