mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
image types: add hdddirect
When image-vm.bbclass was introduced, it indirectly also introduced a ".hdddirect" image type based on boot-directdisk.bbclass. However, one could only get that image when also enabling at least one of the virtual machine images. The .hdddirect images are useful by themselves. By registering image-vm.bbclass as implementation of it, it becomes possible to select them with: IMAGE_FSTYPES = "hdddirect" (From OE-Core rev: e3ff509091cbbfdef851f8a3c9e31c7b76d37e89) Signed-off-by: Patrick Ohly <patrick.ohly@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
ca52ca044e
commit
5f371e5a0b
@@ -18,7 +18,8 @@ inherit boot-directdisk
|
||||
IMAGE_TYPEDEP_vmdk = "ext4"
|
||||
IMAGE_TYPEDEP_vdi = "ext4"
|
||||
IMAGE_TYPEDEP_qcow2 = "ext4"
|
||||
IMAGE_TYPES_MASKED += "vmdk vdi qcow2"
|
||||
IMAGE_TYPEDEP_hdddirect = "ext4"
|
||||
IMAGE_TYPES_MASKED += "vmdk vdi qcow2 hdddirect"
|
||||
|
||||
create_vmdk_image () {
|
||||
qemu-img convert -O vmdk ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.vmdk
|
||||
|
||||
Reference in New Issue
Block a user