summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-02-21 13:46:11 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-23 23:59:39 +0000
commit1792a026069e1a77381bfbd80f5e2651b0c6655f (patch)
treeda49dd593d660142bf3eeda9b9ae1fa52fbba018 /meta/classes
parent8ea3bf38217956068fdb6f4b5e306576db4c29ac (diff)
downloadpoky-1792a026069e1a77381bfbd80f5e2651b0c6655f.tar.gz
image_types: add vmdk type to use with VMware
(From OE-Core rev: c18e6d444929c32a714b3e46f21567867e48814c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image_types.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index eef554d04c..3b261623d6 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -153,6 +153,8 @@ IMAGE_CMD_ubi () {
153} 153}
154IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}" 154IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}"
155 155
156IMAGE_CMD_vmdk = "qemu-img convert -O vmdk ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.vmdk"
157
156EXTRA_IMAGECMD = "" 158EXTRA_IMAGECMD = ""
157EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000" 159EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000"
158# Change these if you want default genext2fs behavior (i.e. create minimal inode number) 160# Change these if you want default genext2fs behavior (i.e. create minimal inode number)
@@ -182,6 +184,7 @@ IMAGE_DEPENDS_cpio.lzma = "xz-native"
182IMAGE_DEPENDS_cpio.xz = "xz-native" 184IMAGE_DEPENDS_cpio.xz = "xz-native"
183IMAGE_DEPENDS_ubi = "mtd-utils-native" 185IMAGE_DEPENDS_ubi = "mtd-utils-native"
184IMAGE_DEPENDS_ubifs = "mtd-utils-native" 186IMAGE_DEPENDS_ubifs = "mtd-utils-native"
187IMAGE_DEPENDS_vmdk = "qemu-native"
185 188
186# This variable is available to request which values are suitable for IMAGE_FSTYPES 189# This variable is available to request which values are suitable for IMAGE_FSTYPES
187IMAGE_TYPES = "jffs2 sum.jffs2 cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz ext2.lzma btrfs live squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz cpio cpio.gz cpio.xz cpio.lzma" 190IMAGE_TYPES = "jffs2 sum.jffs2 cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz ext2.lzma btrfs live squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz cpio cpio.gz cpio.xz cpio.lzma vmdk"