mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 22:39:49 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
157b44cf72
commit
0e56519b33
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user