mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 13:39:49 +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
@@ -130,10 +130,10 @@ def build_live(d):
|
||||
return "image-live"
|
||||
|
||||
IMAGE_TYPE_live = "${@build_live(d)}"
|
||||
|
||||
inherit ${IMAGE_TYPE_live}
|
||||
IMAGE_TYPE_vmdk = '${@bb.utils.contains("IMAGE_FSTYPES", "vmdk", "image-vmdk", "", d)}'
|
||||
inherit ${IMAGE_TYPE_vmdk}
|
||||
|
||||
IMAGE_TYPE_vm = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi"], "image-vm", "", d)}'
|
||||
inherit ${IMAGE_TYPE_vm}
|
||||
|
||||
python () {
|
||||
deps = " " + imagetypes_getdepends(d)
|
||||
|
||||
Reference in New Issue
Block a user