base.bbclass: include PV in 'incompatible license but whitelisted' debug
PATCH 1/1 base.bbclass: include PV in 'incompatible license but whitelisted' debug
Referencing PN only is ambiguous if multiple versions of a recipe are present.
Signed-off-by Andre McCurdy <[email protected]>
--- meta/classes/base.bbclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
meta/classes/base.bbclass +3 -2
@@ -544,10 +544,11 @@ python () { bb.debug(1, "SKIPPING recipe %s because it's %s" % (pn, recipe_license)) raise bb.parse.SkipPackage("incompatible with license %s" % recipe_license) elif pn in whitelist: + p = d.getVar('P', True) if pn in incompatwl: - bb.note("INCLUDING " + pn + " as buildable despite INCOMPATIBLE_LICENSE because it has been whitelisted") + bb.note("INCLUDING " + p + " as buildable despite INCOMPATIBLE_LICENSE because it has been whitelisted") elif pn in htincompatwl: - bb.note("INCLUDING " + pn + " as buildable despite INCOMPATIBLE_LICENSE because it has been whitelisted for HOSTTOOLS") + bb.note("INCLUDING " + p + " as buildable despite INCOMPATIBLE_LICENSE because it has been whitelisted for HOSTTOOLS") needsrcrev = False srcuri = d.getVar('SRC_URI', True)
Signature · 1 line
1.9.1