diff options
author | Christian Ziethén <christian.ziethen@linaro.org> | 2015-07-23 16:32:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-24 23:29:42 +0100 |
commit | c1f9ed400e4b5fe5be4fac86021dea11a7546035 (patch) | |
tree | 8449c8eac8d5612e7c7af989a1e402c9a03243de /meta/classes/sanity.bbclass | |
parent | c43ab92e1cec22127bd9aab6c319673fc70fe906 (diff) | |
download | openembedded-core-c1f9ed400e4b5fe5be4fac86021dea11a7546035.tar.gz openembedded-core-c1f9ed400e4b5fe5be4fac86021dea11a7546035.tar.bz2 openembedded-core-c1f9ed400e4b5fe5be4fac86021dea11a7546035.zip |
image: Support for qcow2
Add support for qcow2 image format. Implemented in the same way as
the previously existing vmdk and vdi solutions.
Signed-off-by: Christian Ziethén <christian.ziethen@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 2855941a7b..6ad620b0a4 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -835,6 +835,10 @@ def check_sanity_everybuild(status, d): if 'vdi' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True): status.addresult("Error, IMAGE_FSTYPES vdi and live can't be built together\n") + # Check qcow2 and live can't be built together. + if 'qcow2' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True): + status.addresult("Error, IMAGE_FSTYPES qcow2 and live can't be built together\n") + # Check /bin/sh links to dash or bash real_sh = os.path.realpath('/bin/sh') if not real_sh.endswith('/dash') and not real_sh.endswith('/bash'): |