mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
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>
This commit is contained in:
parent
6619eff40b
commit
679e3ae6de
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user