diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image_types.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 681571d483..1bf59a5e3e 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -17,7 +17,8 @@ def get_imagecmds(d): | |||
17 | types.append(basetype) | 17 | types.append(basetype) |
18 | if basetype not in cimages: | 18 | if basetype not in cimages: |
19 | cimages[basetype] = [] | 19 | cimages[basetype] = [] |
20 | cimages[basetype].append(ctype) | 20 | if ctype not in cimages[basetype]: |
21 | cimages[basetype].append(ctype) | ||
21 | break | 22 | break |
22 | if not basetype and type not in types: | 23 | if not basetype and type not in types: |
23 | types.append(type) | 24 | types.append(type) |