path: root/meta/recipes-core/images
diff options
authorTom Rini <>2017-07-28 20:14:32 -0400
committerRichard Purdie <>2017-07-30 08:45:13 +0100
commit929ba563f1bc7195c4981b8e139c432b2cc388ea (patch)
tree39ba1647dabcfc4cb5748a9f44f5bed91c95a26d /meta/recipes-core/images
parent7d02ea283b6587f3f79c5846b64b9ba1d6fe8026 (diff)
image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types
The vmdk/vdi/qcow2 IMAGE_FSTYPEs predate wic. As such, they provide some similar underlying functionality in order to produce a "disk" image that in turn can be converted into different formats that various hypervisor types work with. They do not however provide the ability for other disk image types to be converted into these same output types. Furthermore, they are less flexible than what wic does provide. This drops the old style vmdk/vdi/qcow2 types and re-introduces them under the CONVERSION_CMD framework. The equivalent of vmdk is now wic.vmdk and so forth for the other types. Signed-off-by: Tom Rini <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-core/images')
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/images/ b/meta/recipes-core/images/
index f145b5e656..927a9310ac 100644
--- a/meta/recipes-core/images/
+++ b/meta/recipes-core/images/
@@ -19,7 +19,7 @@ IMAGE_ROOTFS_EXTRA_SPACE = "41943040"
APPEND += "rootfstype=ext4 quiet"
DEPENDS = "zip-native python3-pip-native"
+IMAGE_FSTYPES = "wic.vmdk"
inherit core-image module-base setuptools3
@@ -120,7 +120,7 @@ create_bundle_files () {
mkdir -p Yocto_Build_Appliance
cp *.vmx* Yocto_Build_Appliance
- ln -sf ${IMGDEPLOYDIR}/${IMAGE_NAME}.vmdk Yocto_Build_Appliance/Yocto_Build_Appliance.vmdk
+ ln -sf ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.wic.vmdk Yocto_Build_Appliance/Yocto_Build_Appliance.vmdk
zip -r ${IMGDEPLOYDIR}/Yocto_Build_Appliance-${DATETIME}.zip Yocto_Build_Appliance
ln -sf Yocto_Build_Appliance-${DATETIME}.zip ${IMGDEPLOYDIR}/
@@ -130,4 +130,4 @@ python do_bundle_files() {'create_bundle_files', d)
-addtask bundle_files after do_vmimg before do_image_complete
+addtask bundle_files after do_image_wic before do_image_complete