summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2015-06-03 11:07:23 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-11 23:59:13 +0100
commita13c51e751ee76c990fe83f83544e448c6cf543d (patch)
tree0612be3f76df8f4fe2cc2e5ff48bec176bc05469 /meta/classes/image.bbclass
parentd59d876f447c961149763e585c012ac2f0f7b788 (diff)
downloadpoky-a13c51e751ee76c990fe83f83544e448c6cf543d.tar.gz
image: Support for VDI
Added support for VirtualBox VDI format. The support was implemented by merging with the already existing VMDK support for VM player by creating a new class image-vm.bbclass. This class replaces the previous VMDK only image-vmdk.class. (From OE-Core rev: 0a3e8eb9f592c3f1edd2c7521855f7406541651a) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> 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.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 58b4add8fa..64ae2cb92b 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -130,10 +130,10 @@ def build_live(d):
130 return "image-live" 130 return "image-live"
131 131
132IMAGE_TYPE_live = "${@build_live(d)}" 132IMAGE_TYPE_live = "${@build_live(d)}"
133
134inherit ${IMAGE_TYPE_live} 133inherit ${IMAGE_TYPE_live}
135IMAGE_TYPE_vmdk = '${@bb.utils.contains("IMAGE_FSTYPES", "vmdk", "image-vmdk", "", d)}' 134
136inherit ${IMAGE_TYPE_vmdk} 135IMAGE_TYPE_vm = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi"], "image-vm", "", d)}'
136inherit ${IMAGE_TYPE_vm}
137 137
138python () { 138python () {
139 deps = " " + imagetypes_getdepends(d) 139 deps = " " + imagetypes_getdepends(d)