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:51:40 +0000 |
commit | 0e56519b33a961cb7e7ff123aad2ca5b94ade6eb (patch) | |
tree | d8e4fde014ed1287509c9cee0ee79625a521048e /meta/classes/image.bbclass | |
parent | 157b44cf72c8660ba53b8fe1b321d2ef314c07ef (diff) | |
download | poky-0e56519b33a961cb7e7ff123aad2ca5b94ade6eb.tar.gz |
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.
(From OE-Core rev: aa961e112b07d42c272e01f2d69f3c139e9ae70f)
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 = "" | |||
70 | do_rootfs[depends] += "makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND}" | 70 | do_rootfs[depends] += "makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND}" |
71 | do_rootfs[depends] += "virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot" | 71 | do_rootfs[depends] += "virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot" |
72 | 72 | ||
73 | IMAGE_TYPE = '${@base_contains("IMAGE_FSTYPES", "live", "live", "empty", d)}' | 73 | IMAGE_TYPE_live = '${@base_contains("IMAGE_FSTYPES", "live", "live", "empty", d)}' |
74 | inherit image-${IMAGE_TYPE} | 74 | inherit image-${IMAGE_TYPE_live} |
75 | IMAGE_TYPE_vmdk = '${@base_contains("IMAGE_FSTYPES", "vmdk", "vmdk", "empty", d)}' | ||
76 | inherit image-${IMAGE_TYPE_vmdk} | ||
75 | 77 | ||
76 | python () { | 78 | python () { |
77 | deps = d.getVarFlag('do_rootfs', 'depends') or "" | 79 | deps = d.getVarFlag('do_rootfs', 'depends') or "" |