summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/image_types.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 681571d48..1bf59a5e3 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -17,7 +17,8 @@ def get_imagecmds(d):
types.append(basetype)
if basetype not in cimages:
cimages[basetype] = []
- cimages[basetype].append(ctype)
+ if ctype not in cimages[basetype]:
+ cimages[basetype].append(ctype)
break
if not basetype and type not in types:
types.append(type)