[OE-core] [PATCH 0/7] Support for VirtualBox VDI image format.

Juro Bystricky juro.bystricky at intel.com
Wed Jun 3 18:07:22 UTC 2015


This series of patches implements support for VirtualBox VDI images.
Instead of a new VDI only class a new class image-vm.bbclass
was created. This class replaces the previously existing image-vmdk
class and now supports both VM image formats: VMDK and VDI.

Generally, VMDK and VDI treatment is mostly identical. Both images are
created by qemu from hdddirect image. However, VDI images need UUID to
boot, so qemu has to be built with UUID support.

Both VDI and VMDK images can be built simultaneously, as demonstrated
by the recipe core-image-minimal-vms.bb


[YOCTO #7374]


Juro Bystricky (7):
  image: Support for VDI
  qemu: Add support for UUID
  documentation.conf: Document do_vmimg
  sanity.bbclass: Prevent 'vdi' and 'live' to be built together
  boot-direct.bbclass: Add support for VDI images
  build-appliance-image: do_vmdkimg replaced by do_vmimg
  core-image-minimal-vms: new recipe to build images for VM

 meta/classes/boot-directdisk.bbclass               |  4 +--
 meta/classes/image-vm.bbclass                      | 38 ++++++++++++++++++++++
 meta/classes/image-vmdk.bbclass                    | 35 --------------------
 meta/classes/image.bbclass                         |  6 ++--
 meta/classes/image_types.bbclass                   |  5 +--
 meta/classes/sanity.bbclass                        |  5 +++
 meta/conf/documentation.conf                       |  2 +-
 meta/lib/oe/image.py                               |  4 +--
 .../images/build-appliance-image_12.0.1.bb         |  2 +-
 meta/recipes-core/images/core-image-minimal-vms.bb | 12 +++++++
 meta/recipes-devtools/qemu/qemu.inc                |  2 +-
 11 files changed, 68 insertions(+), 47 deletions(-)
 create mode 100644 meta/classes/image-vm.bbclass
 delete mode 100644 meta/classes/image-vmdk.bbclass
 create mode 100644 meta/recipes-core/images/core-image-minimal-vms.bb

-- 
1.9.1




More information about the Openembedded-core mailing list