From: Otavio Salvador Date: Wed, 24 Dec 2014 16:32:10 +0000 (-0200) Subject: image_types.bbclass: Rework code to map types for 'ext3' X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~31747 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df00cb53f0548d34e5865b6fff314bff641af6e7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image_types.bbclass: Rework code to map types for 'ext3' Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 71b2ea916b8..02b107c7c10 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -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: