diff options
-rw-r--r-- | meta/classes/image_types.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 8b820182e2..e92f519078 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -26,13 +26,19 @@ def get_imagecmds(d): | |||
26 | # Live and VMDK images will be processed via inheriting | 26 | # Live and VMDK images will be processed via inheriting |
27 | # bbclass and does not get processed here. | 27 | # bbclass and does not get processed here. |
28 | # vmdk depend on live images also depend on ext3 so ensure its present | 28 | # vmdk depend on live images also depend on ext3 so ensure its present |
29 | # Note: we need to ensure ext3 is in alltypes, otherwise, subimages may | ||
30 | # not contain ext3 and the .rootfs.ext3 file won't be created. | ||
29 | if "vmdk" in types: | 31 | if "vmdk" in types: |
30 | if "ext3" not in types: | 32 | if "ext3" not in types: |
31 | types.append("ext3") | 33 | types.append("ext3") |
34 | if "ext3" not in alltypes: | ||
35 | alltypes.append("ext3") | ||
32 | types.remove("vmdk") | 36 | types.remove("vmdk") |
33 | if "live" in types: | 37 | if "live" in types: |
34 | if "ext3" not in types: | 38 | if "ext3" not in types: |
35 | types.append("ext3") | 39 | types.append("ext3") |
40 | if "ext3" not in alltypes: | ||
41 | alltypes.append("ext3") | ||
36 | types.remove("live") | 42 | types.remove("live") |
37 | 43 | ||
38 | if d.getVar('IMAGE_LINK_NAME', True): | 44 | if d.getVar('IMAGE_LINK_NAME', True): |