diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-02-29 23:46:21 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-01 15:39:55 +0000 |
commit | aa961e112b07d42c272e01f2d69f3c139e9ae70f (patch) | |
tree | 62de0b094a9d2e3462d33d10c879c37ad7817e8c /meta/classes/image.bbclass | |
parent | c051d6c59c71a5f90c2d545491facd2d131592fd (diff) | |
download | openembedded-core-aa961e112b07d42c272e01f2d69f3c139e9ae70f.tar.gz openembedded-core-aa961e112b07d42c272e01f2d69f3c139e9ae70f.tar.bz2 openembedded-core-aa961e112b07d42c272e01f2d69f3c139e9ae70f.zip |
image-vmdk: Create image_vmdk class and setup image and image_types to use it
This creates a new image_vmdk class similar to live. The image_vmdk
class needs to have a hddimg created by the image-live class, so it
inherits it directly.
The changes to image_types is to ensure that both live and vmdk images
get the ext3 tools and dependencies.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index ec75cc1e6b..dfce381393 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -70,8 +70,10 @@ LDCONFIGDEPEND_libc-uclibc = "" do_rootfs[depends] += "makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND}" do_rootfs[depends] += "virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot" -IMAGE_TYPE = '${@base_contains("IMAGE_FSTYPES", "live", "live", "empty", d)}' -inherit image-${IMAGE_TYPE} +IMAGE_TYPE_live = '${@base_contains("IMAGE_FSTYPES", "live", "live", "empty", d)}' +inherit image-${IMAGE_TYPE_live} +IMAGE_TYPE_vmdk = '${@base_contains("IMAGE_FSTYPES", "vmdk", "vmdk", "empty", d)}' +inherit image-${IMAGE_TYPE_vmdk} python () { deps = d.getVarFlag('do_rootfs', 'depends') or "" |