Add CC0-1.0 to QA check whitelist

This commit is contained in:
Andreas Cord-Landwehr
2022-01-09 11:29:43 +01:00
parent 07210ebb7a
commit f90a19fee0

View File

@@ -105,6 +105,7 @@ do_populate_lic:prepend() {
package_license_qa_whitelist = d.getVar('REUSE_LICENSECHECK_WHITELIST') or ''
recipe_licenses_qa_whitelist = package_license_qa_whitelist.split()
recipe_licenses_qa_whitelist = list(map(str.strip, recipe_licenses_qa_whitelist))
recipe_licenses_qa_whitelist.append("CC0-1.0")
if d.getVar('LIC_FILES_CHKSUM') and not d.getVar('LIC_FILES_CHKSUM') == '':
print("Aborting LIC_FILES_CHKSUM computation, value already set to:", d.getVar('LIC_FILES_CHKSUM'))