diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-05-08 02:50:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-10 09:57:08 +0100 |
commit | e646a999726cc70cd60357bf1a39b0bd965a4c7c (patch) | |
tree | e90958b893ca6acd7e9676731c33690ba719f1f0 /meta | |
parent | dc34eff8a941da86639edc71154d3435652f2517 (diff) | |
download | poky-e646a999726cc70cd60357bf1a39b0bd965a4c7c.tar.gz |
insane.bbclass: skip license checksum if LICENSE is "CLOSED"
(From OE-Core rev: 2d2d7710cc51c2656e89c3aec3f3fc0a5b65eb30)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | 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 e9d4bfab08..35809b9ec2 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -348,8 +348,12 @@ def package_qa_check_license(workdir, d): | |||
348 | sane = True | 348 | sane = True |
349 | 349 | ||
350 | lic_files = bb.data.getVar('LIC_FILES_CHKSUM', d, True) | 350 | lic_files = bb.data.getVar('LIC_FILES_CHKSUM', d, True) |
351 | lic = bb.data.getVar('LICENSE', d, True) | ||
351 | pn = bb.data.getVar('PN', d, True) | 352 | pn = bb.data.getVar('PN', d, True) |
352 | 353 | ||
354 | if lic == "CLOSED": | ||
355 | return True | ||
356 | |||
353 | if not lic_files: | 357 | if not lic_files: |
354 | # just throw a warning now. Once licensing data in entered for enough of the recipes, | 358 | # just throw a warning now. Once licensing data in entered for enough of the recipes, |
355 | # this will be converted into error and False will be returned. | 359 | # this will be converted into error and False will be returned. |