diff options
-rw-r--r-- | meta/classes/image_types.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index bdb67b41e8..6bb113df4b 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -7,13 +7,16 @@ def get_imagecmds(d): | |||
7 | ctypes = d.getVar('COMPRESSIONTYPES', True).split() | 7 | ctypes = d.getVar('COMPRESSIONTYPES', True).split() |
8 | cimages = {} | 8 | cimages = {} |
9 | 9 | ||
10 | # The elf image depends on the cpio.gz image already having | ||
11 | # been created, so we add that explicit ordering here. | ||
12 | |||
10 | if "elf" in alltypes: | 13 | if "elf" in alltypes: |
11 | alltypes.remove("elf") | 14 | alltypes.remove("elf") |
12 | if "cpio.gz" not in alltypes: | 15 | if "cpio.gz" not in alltypes: |
13 | alltypes.append("cpio.gz") | 16 | alltypes.append("cpio.gz") |
14 | alltypes.append("elf") | 17 | alltypes.append("elf") |
15 | 18 | ||
16 | # Filter out all the compressed images from types | 19 | # Filter out all the compressed images from alltypes |
17 | for type in alltypes: | 20 | for type in alltypes: |
18 | basetype = None | 21 | basetype = None |
19 | for ctype in ctypes: | 22 | for ctype in ctypes: |