summaryrefslogtreecommitdiff
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorChristian Ziethén <christian.ziethen@linaro.org>2015-07-23 16:32:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-24 23:29:42 +0100
commitc1f9ed400e4b5fe5be4fac86021dea11a7546035 (patch)
tree8449c8eac8d5612e7c7af989a1e402c9a03243de /meta/classes/image.bbclass
parentc43ab92e1cec22127bd9aab6c319673fc70fe906 (diff)
downloadopenembedded-core-c1f9ed400e4b5fe5be4fac86021dea11a7546035.tar.gz
openembedded-core-c1f9ed400e4b5fe5be4fac86021dea11a7546035.tar.bz2
openembedded-core-c1f9ed400e4b5fe5be4fac86021dea11a7546035.zip
image: Support for qcow2
Add support for qcow2 image format. Implemented in the same way as the previously existing vmdk and vdi solutions. Signed-off-by: Christian Ziethén <christian.ziethen@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index e2995e2638..ff2ed0d09a 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -132,7 +132,7 @@ def build_live(d):
IMAGE_TYPE_live = "${@build_live(d)}"
inherit ${IMAGE_TYPE_live}
-IMAGE_TYPE_vm = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi"], "image-vm", "", d)}'
+IMAGE_TYPE_vm = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi", "qcow2"], "image-vm", "", d)}'
inherit ${IMAGE_TYPE_vm}
python () {