From 679e3ae6de50b513b99ee2c5680dbc59d652264c Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sun, 8 May 2011 02:50:43 +0000 Subject: insane.bbclass: skip license checksum if LICENSE is "CLOSED" (From OE-Core rev: 2d2d7710cc51c2656e89c3aec3f3fc0a5b65eb30) Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- meta/classes/insane.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/classes') 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): 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. -- cgit v1.2.3-54-g00ecf