summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorChristian Ziethén <christian.ziethen@linaro.org>2015-07-23 16:32:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-25 14:41:43 +0100
commit2963cc25afb65376ba6a1a6487274143bd67f674 (patch)
treeae0ed8860e007ba4eba30826d13a836991130933 /meta/classes/sanity.bbclass
parent6dcd3555712a1e83b519e7912a5ba35a3971ce4f (diff)
downloadpoky-2963cc25afb65376ba6a1a6487274143bd67f674.tar.gz
image: Support for qcow2
Add support for qcow2 image format. Implemented in the same way as the previously existing vmdk and vdi solutions. (From OE-Core rev: c1f9ed400e4b5fe5be4fac86021dea11a7546035) Signed-off-by: Christian Ziethén <christian.ziethen@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass4
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):
835 if 'vdi' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True): 835 if 'vdi' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True):
836 status.addresult("Error, IMAGE_FSTYPES vdi and live can't be built together\n") 836 status.addresult("Error, IMAGE_FSTYPES vdi and live can't be built together\n")
837 837
838 # Check qcow2 and live can't be built together.
839 if 'qcow2' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True):
840 status.addresult("Error, IMAGE_FSTYPES qcow2 and live can't be built together\n")
841
838 # Check /bin/sh links to dash or bash 842 # Check /bin/sh links to dash or bash
839 real_sh = os.path.realpath('/bin/sh') 843 real_sh = os.path.realpath('/bin/sh')
840 if not real_sh.endswith('/dash') and not real_sh.endswith('/bash'): 844 if not real_sh.endswith('/dash') and not real_sh.endswith('/bash'):