mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
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:
committed by
Richard Purdie
parent
fc74b5d007
commit
7856fb3f0c
@@ -13,7 +13,7 @@ def imagetypes_getdepends(d):
|
|||||||
deps = []
|
deps = []
|
||||||
ctypes = d.getVar('COMPRESSIONTYPES', True).split()
|
ctypes = d.getVar('COMPRESSIONTYPES', True).split()
|
||||||
for type in (d.getVar('IMAGE_FSTYPES', True) or "").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"
|
type = "ext3"
|
||||||
basetype = type
|
basetype = type
|
||||||
for ctype in ctypes:
|
for ctype in ctypes:
|
||||||
|
|||||||
Reference in New Issue
Block a user