summaryrefslogtreecommitdiff
path: root/meta/lib
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:55:41 +0100
commit0a3e8eb9f592c3f1edd2c7521855f7406541651a (patch)
tree741b73d075c9b63166c424793ed1b5067f782f6a /meta/lib
parentb812d0f40423bc56394cc8b6fc92eb1f477dba1b (diff)
downloadopenembedded-core-0a3e8eb9f592c3f1edd2c7521855f7406541651a.tar.gz
openembedded-core-0a3e8eb9f592c3f1edd2c7521855f7406541651a.tar.bz2
openembedded-core-0a3e8eb9f592c3f1edd2c7521855f7406541651a.zip
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. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/image.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py
index 0ce303d570..40f61515eb 100644
--- a/meta/lib/oe/image.py
+++ b/meta/lib/oe/image.py
@@ -66,7 +66,7 @@ class ImageDepGraph(object):
return graph
def _clean_graph(self):
- # Live and VMDK images will be processed via inheriting
+ # Live and VMDK/VDI images will be processed via inheriting
# bbclass and does not get processed here. Remove them from the fstypes
# graph. Their dependencies are already added, so no worries here.
remove_list = (self.d.getVar('IMAGE_TYPES_MASKED', True) or "").split()
@@ -76,7 +76,7 @@ class ImageDepGraph(object):
def _image_base_type(self, type):
ctypes = self.d.getVar('COMPRESSIONTYPES', True).split()
- if type in ["vmdk", "live", "iso", "hddimg"]:
+ if type in ["vmdk", "vdi", "live", "iso", "hddimg"]:
type = "ext3"
basetype = type
for ctype in ctypes: