From 0a3e8eb9f592c3f1edd2c7521855f7406541651a Mon Sep 17 00:00:00 2001 From: Juro Bystricky Date: Wed, 3 Jun 2015 11:07:23 -0700 Subject: 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 Signed-off-by: Ross Burton --- meta/lib/oe/image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/lib/oe/image.py') 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: -- cgit 1.2.3-korg