diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-02-21 13:46:11 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-23 23:59:39 +0000 |
commit | 1792a026069e1a77381bfbd80f5e2651b0c6655f (patch) | |
tree | da49dd593d660142bf3eeda9b9ae1fa52fbba018 /meta/classes | |
parent | 8ea3bf38217956068fdb6f4b5e306576db4c29ac (diff) | |
download | poky-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.bbclass | 5 |
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 | } |
154 | IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}" | 154 | IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}" |
155 | 155 | ||
156 | IMAGE_CMD_vmdk = "qemu-img convert -O vmdk ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.vmdk" | ||
157 | |||
156 | EXTRA_IMAGECMD = "" | 158 | EXTRA_IMAGECMD = "" |
157 | EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000" | 159 | EXTRA_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" | |||
182 | IMAGE_DEPENDS_cpio.xz = "xz-native" | 184 | IMAGE_DEPENDS_cpio.xz = "xz-native" |
183 | IMAGE_DEPENDS_ubi = "mtd-utils-native" | 185 | IMAGE_DEPENDS_ubi = "mtd-utils-native" |
184 | IMAGE_DEPENDS_ubifs = "mtd-utils-native" | 186 | IMAGE_DEPENDS_ubifs = "mtd-utils-native" |
187 | IMAGE_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 |
187 | IMAGE_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" | 190 | IMAGE_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" |