summaryrefslogtreecommitdiffstats
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-25 14:41:43 +0100
commit2963cc25afb65376ba6a1a6487274143bd67f674 (patch)
treeae0ed8860e007ba4eba30826d13a836991130933 /meta/classes/image.bbclass
parent6dcd3555712a1e83b519e7912a5ba35a3971ce4f (diff)
downloadpoky-2963cc25afb65376ba6a1a6487274143bd67f674.tar.gz
image: Support for qcow2
Add support for qcow2 image format. Implemented in the same way as the previously existing vmdk and vdi solutions. (From OE-Core rev: c1f9ed400e4b5fe5be4fac86021dea11a7546035) Signed-off-by: Christian Ziethén <christian.ziethen@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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):
132IMAGE_TYPE_live = "${@build_live(d)}" 132IMAGE_TYPE_live = "${@build_live(d)}"
133inherit ${IMAGE_TYPE_live} 133inherit ${IMAGE_TYPE_live}
134 134
135IMAGE_TYPE_vm = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi"], "image-vm", "", d)}' 135IMAGE_TYPE_vm = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi", "qcow2"], "image-vm", "", d)}'
136inherit ${IMAGE_TYPE_vm} 136inherit ${IMAGE_TYPE_vm}
137 137
138python () { 138python () {