]> code.ossystems Code Review - openembedded-core.git/commitdiff
insane.bbclass: skip license checksum if LICENSE is "CLOSED"
authorOtavio Salvador <otavio@ossystems.com.br>
Sun, 8 May 2011 02:50:43 +0000 (02:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 May 2011 08:51:56 +0000 (09:51 +0100)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta/classes/insane.bbclass

index e9d4bfab08c99426692f80110daf1895f9f757b5..35809b9ec2e6fefe8355115ab5945ca4603717e3 100644 (file)
@@ -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.