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:00 +0100 |
commit | ab3cdfbd24844506647b75002f531b0b82b87be4 (patch) | |
tree | 4a66c90bb132d07d282dff8c4d952f8b3b90b032 /meta | |
parent | ecf386d113011c430a2e04dfdac981a265a83b7b (diff) | |
download | openembedded-core-contrib-ab3cdfbd24844506647b75002f531b0b82b87be4.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).
Signed-off-by: Tomasz Meresiński <tomasz.meresinski@comarch.pl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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 c1862b13195..7a388d5c607 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 \ ${MLPREFIX}syslinux:do_populate_sysroot \ syslinux-native:do_populate_sysroot \ ${@oe.utils.ifelse(d.getVar('COMPRESSISO', False),'zisofs-tools-native:do_populate_sysroot','')} \ - ${PN}:do_image_${LIVE_ROOTFS_TYPE} \ + ${PN}:do_image_${@d.getVar('LIVE_ROOTFS_TYPE').replace('-', '_')} \ " |