image-vm: Allow for xz compressed vmdk images 77/10277/2
authorTom Rini <trini@konsulko.com>
Wed, 19 Jul 2017 13:53:49 +0000 (09:53 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 20 Jul 2017 12:50:54 +0000 (12:50 +0000)
commit86c6c258955af2800c8a3be6ec5bd6a8f65fc4cf
tree46adf06246d3103193d9d67fe4930573e891c2eb
parent726da22bfc951815defc1cd9da18281b6380b000
image-vm: Allow for xz compressed vmdk images

In order to save space, introduce a vmdk.xz IMAGE_FSTYPE.  We re-use
the existing xz compression logic in place as given how the images are
created we cannot use CONVERSION_CMD_xz directly.  We switch to using
bb.utils.contains in order to get an exact match on if vmdk.xz or vmdk
is in IMAGE_FSTYPES.

Change-Id: I9aa5fd1c8d80330536b9a38eaa154e3f706a3c2d
AGL-Issue: SPEC-514
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10277
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/classes/image-vm.bbclass [new file with mode: 0644]