[oe-commits] Otavio Salvador : insane.bbclass: skip license checksum if LICENSE is " CLOSED"
git version control
git at git.openembedded.org
Tue May 10 08:59:34 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: 2d2d7710cc51c2656e89c3aec3f3fc0a5b65eb30
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2d2d7710cc51c2656e89c3aec3f3fc0a5b65eb30
Author: Otavio Salvador <otavio at ossystems.com.br>
Date: Sun May 8 02:50:43 2011 +0000
insane.bbclass: skip license checksum if LICENSE is "CLOSED"
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
meta/classes/insane.bbclass | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index e9d4bfa..35809b9 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.
More information about the Openembedded-commits
mailing list