image_types.bbclass: Rework code to map types for 'ext3'

(From OE-Core rev: df00cb53f0548d34e5865b6fff314bff641af6e7)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Otavio Salvador 2014-12-24 14:32:10 -02:00 committed by Richard Purdie
parent fc74b5d007
commit 7856fb3f0c
1 changed files with 1 additions and 1 deletions

View 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: