[24/30] insane.bbclass: skip license checksum if LICENSE is "CLOSED"
Submitted by Saul Wold on May 10, 2011, 5:26 a.m.
Patch ID: 3571
@@ -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.