summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-05-08 02:50:43 +0000
committerSaul Wold <sgw@linux.intel.com>2011-05-10 07:55:57 -0700
commit679e3ae6de50b513b99ee2c5680dbc59d652264c (patch)
treea80a32f0dfa08f2d45564923e6e7e63c041464b2 /meta
parent6619eff40bdd3443a35f45f64c765ba1d6cba97a (diff)
downloadpoky-679e3ae6de50b513b99ee2c5680dbc59d652264c.tar.gz
insane.bbclass: skip license checksum if LICENSE is "CLOSED"
(From OE-Core rev: 2d2d7710cc51c2656e89c3aec3f3fc0a5b65eb30) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 812438494b..3bd6e74408 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -346,8 +346,12 @@ def package_qa_check_license(workdir, d):
346 sane = True 346 sane = True
347 347
348 lic_files = bb.data.getVar('LIC_FILES_CHKSUM', d, True) 348 lic_files = bb.data.getVar('LIC_FILES_CHKSUM', d, True)
349 lic = bb.data.getVar('LICENSE', d, True)
349 pn = bb.data.getVar('PN', d, True) 350 pn = bb.data.getVar('PN', d, True)
350 351
352 if lic == "CLOSED":
353 return True
354
351 if not lic_files: 355 if not lic_files:
352 # just throw a warning now. Once licensing data in entered for enough of the recipes, 356 # just throw a warning now. Once licensing data in entered for enough of the recipes,
353 # this will be converted into error and False will be returned. 357 # this will be converted into error and False will be returned.