image-vm: Allow for xz compressed vmdk images 71/10271/3
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:58 +0000 (12:50 +0000)
commitc6019b1d267c502f2b5fec990be603d479958993
tree096be2ea0cc351c0114262ac0a12e3d0c8358de3
parent68315730b42e7119e222fccd38139579fe571554
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/10271
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]