]> code.ossystems Code Review - openembedded-core.git/commitdiff
image_types.bbclass: Rework code to map types for 'ext3'
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 24 Dec 2014 16:32:10 +0000 (14:32 -0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 24 Dec 2014 17:48:56 +0000 (17:48 +0000)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass

index 71b2ea916b8b71d150a37b9f6bb02a9055cbdaea..02b107c7c10399f6f99e47da32a9b2c8738453a5 100644 (file)
@@ -13,7 +13,7 @@ def imagetypes_getdepends(d):
     deps = []
     ctypes = d.getVar('COMPRESSIONTYPES', True).split()
     for type in (d.getVar('IMAGE_FSTYPES', True) or "").split():
-        if type == "vmdk" or type == "live" or type == "iso" or type == "hddimg":
+        if type in ["vmdk", "live", "iso", "hddimg"]:
             type = "ext3"
         basetype = type
         for ctype in ctypes: