mirror of
https://git.yoctoproject.org/poky
synced 2026-09-20 12:49:33 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d59d876f44
commit
a13c51e751
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user