mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
image_types: Ensure duplicate compressed types aren't created
This allows IMAGE_FSTYPES = "tar.bz2 tar.bz2" to work (and now is faster since it will only do it once). (From OE-Core rev: b24d4bcde21b013e48eaffea5f3a70d8b1df1047) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -17,7 +17,8 @@ def get_imagecmds(d):
|
|||||||
types.append(basetype)
|
types.append(basetype)
|
||||||
if basetype not in cimages:
|
if basetype not in cimages:
|
||||||
cimages[basetype] = []
|
cimages[basetype] = []
|
||||||
cimages[basetype].append(ctype)
|
if ctype not in cimages[basetype]:
|
||||||
|
cimages[basetype].append(ctype)
|
||||||
break
|
break
|
||||||
if not basetype and type not in types:
|
if not basetype and type not in types:
|
||||||
types.append(type)
|
types.append(type)
|
||||||
|
|||||||
Reference in New Issue
Block a user