summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-05-08 02:50:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-10 09:51:56 +0100
commit2d2d7710cc51c2656e89c3aec3f3fc0a5b65eb30 (patch)
treef211f80e33f0b2ff57e1250cdfb30fb336a1014e /meta
parentfe00d409dacc7670667f932fcb78760cc32ba5b0 (diff)
downloadopenembedded-core-2d2d7710cc51c2656e89c3aec3f3fc0a5b65eb30.tar.gz
openembedded-core-2d2d7710cc51c2656e89c3aec3f3fc0a5b65eb30.tar.bz2
openembedded-core-2d2d7710cc51c2656e89c3aec3f3fc0a5b65eb30.zip
insane.bbclass: skip license checksum if LICENSE is "CLOSED"
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index e9d4bfab08..35809b9ec2 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -348,8 +348,12 @@ def package_qa_check_license(workdir, d):
sane = True
lic_files = bb.data.getVar('LIC_FILES_CHKSUM', d, True)
+ lic = bb.data.getVar('LICENSE', d, True)
pn = bb.data.getVar('PN', d, True)
+ if lic == "CLOSED":
+ return True
+
if not lic_files:
# just throw a warning now. Once licensing data in entered for enough of the recipes,
# this will be converted into error and False will be returned.