mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
license.bbclass: Collect LICENSE level packages
Some bad logic in license.bbclass misses certain package level LICENSEs. (From OE-Core rev: c5a171d5817233c0371e6f5b19f57f3c4b84f5ac) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bc5bf6f0a0
commit
6944a3bd58
@@ -97,9 +97,9 @@ python do_populate_lic() {
|
||||
|
||||
pn = d.getVar('PN', True)
|
||||
for package in d.getVar('PACKAGES', True):
|
||||
if d.getVar('LICENSE_' + pn + '-' + package, True):
|
||||
if d.getVar('LICENSE_' + package, True):
|
||||
license_types = license_types + ' & ' + \
|
||||
d.getVar('LICENSE_' + pn + '-' + package, True)
|
||||
d.getVar('LICENSE_' + package, True)
|
||||
|
||||
#If we get here with no license types, then that means we have a recipe
|
||||
#level license. If so, we grab only those.
|
||||
|
||||
Reference in New Issue
Block a user