From patchwork Tue May 10 05:26:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [24/30] insane.bbclass: skip license checksum if LICENSE is "CLOSED" Date: Tue, 10 May 2011 05:26:25 -0000 From: Saul Wold X-Patchwork-Id: 3571 Message-Id: <53dcd8765a9a16ee85e6e1c47fda5a7a748a3f31.1305004776.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org Cc: From: Otavio Salvador Signed-off-by: Otavio Salvador --- 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.