aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-12-24 14:32:10 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-24 17:48:56 +0000
commitdf00cb53f0548d34e5865b6fff314bff641af6e7 (patch)
treeca912ef242f485287c74455e3c72260264dff920
parent055fddd601536109e0574e84dc6570c322f22d44 (diff)
downloadopenembedded-core-contrib-df00cb53f0548d34e5865b6fff314bff641af6e7.tar.gz
image_types.bbclass: Rework code to map types for 'ext3'
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image_types.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 71b2ea916b..02b107c7c1 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: