diff options
-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 812438494b..3bd6e74408 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -346,8 +346,12 @@ def package_qa_check_license(workdir, d): | |||
346 | sane = True | 346 | sane = True |
347 | 347 | ||
348 | lic_files = bb.data.getVar('LIC_FILES_CHKSUM', d, True) | 348 | lic_files = bb.data.getVar('LIC_FILES_CHKSUM', d, True) |
349 | lic = bb.data.getVar('LICENSE', d, True) | ||
349 | pn = bb.data.getVar('PN', d, True) | 350 | pn = bb.data.getVar('PN', d, True) |
350 | 351 | ||
352 | if lic == "CLOSED": | ||
353 | return True | ||
354 | |||
351 | if not lic_files: | 355 | if not lic_files: |
352 | # just throw a warning now. Once licensing data in entered for enough of the recipes, | 356 | # just throw a warning now. Once licensing data in entered for enough of the recipes, |
353 | # this will be converted into error and False will be returned. | 357 | # this will be converted into error and False will be returned. |