diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2015-06-03 11:07:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-11 23:59:13 +0100 |
commit | a13c51e751ee76c990fe83f83544e448c6cf543d (patch) | |
tree | 0612be3f76df8f4fe2cc2e5ff48bec176bc05469 /meta/classes/image.bbclass | |
parent | d59d876f447c961149763e585c012ac2f0f7b788 (diff) | |
download | poky-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.bbclass | 6 |
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 | ||
132 | IMAGE_TYPE_live = "${@build_live(d)}" | 132 | IMAGE_TYPE_live = "${@build_live(d)}" |
133 | |||
134 | inherit ${IMAGE_TYPE_live} | 133 | inherit ${IMAGE_TYPE_live} |
135 | IMAGE_TYPE_vmdk = '${@bb.utils.contains("IMAGE_FSTYPES", "vmdk", "image-vmdk", "", d)}' | 134 | |
136 | inherit ${IMAGE_TYPE_vmdk} | 135 | IMAGE_TYPE_vm = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi"], "image-vm", "", d)}' |
136 | inherit ${IMAGE_TYPE_vm} | ||
137 | 137 | ||
138 | python () { | 138 | python () { |
139 | deps = " " + imagetypes_getdepends(d) | 139 | deps = " " + imagetypes_getdepends(d) |