[yocto] image-vmdk with genericx86

Takashi Matsuzawa tmatsuzawa at uievolution.com
Wed Jul 13 03:51:34 PDT 2016


Hello, Yocto.


Should it be possible to simply change image class of genericx86 from xxxx.hddimg to xxxx.hdddirect?


I have been successfully building genericx86 image (that is image-live.bbclass based), and now trying to build it with directdisk (xxxx.hdddirect).

I thought it would be simpler to use pre-existing imageclass, so I tried following after finding image-vmdk.bbclass inherits boot-directdisk.

Currently my build is based on Yocto 1.8 (fido).


(in my local.conf)

IMAGE_FSTYPES_remove = " live"

IMAGE_FSTYPES_append = " vmdk"

But this caused following error.

I am currently looking into the class files to find the cause of error, but anyway, this should work?


>ERROR: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'vmdk' - possibly invalid type name or missing support class
> ERROR: Function failed: do_rootfs
> ERROR: Logfile of failure stored in:
/mnt/ssd2/yocto/dev/tmp/x86-wk3/work/genericx86-poky-linux/core-image-minimal-initramfs/1.0-r0/temp/log.do_rootfs.20432
> ERROR: Task 229
(/mnt/ssd2/yocto/dev/wk/x86/wk3/build-root/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb<http://core-image-minimal-initramfs.bb/>, do_rootfs) failed with exit code '1'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160713/b352a3d5/attachment.html>


More information about the yocto mailing list