[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7827/8267] classes/image_live: fix using squashfs as image filesystem



commit beb775ca75d2f0773049491338791c3906014cdb
Author: Tomasz Meresiński <tomasz meresinski comarch pl>
Date:   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).
    
    (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>

 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 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('-', '_')} \
                         "
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]