[oe-commits] [openembedded-core] 14/20: classes/image_live: fix using squashfs as image filesystem

git at git.openembedded.org git at git.openembedded.org
Thu Sep 21 08:25:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit ab3cdfbd24844506647b75002f531b0b82b87be4
Author: Tomasz Meresiński <tomasz.meresinski at comarch.pl>
AuthorDate: Tue Sep 19 12:36:00 2017 +0200

    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 at comarch.pl>
    Signed-off-by: Ross Burton <ross.burton at intel.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 c1862b1..7a388d5 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('-', '_')} \
                         "
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list