[OE-core] [PATCH 3/4] base.bbclass: include PV in 'incompatible license but whitelisted' debug
Andre McCurdy
armccurdy at gmail.com
Thu Mar 31 18:13:08 UTC 2016
Referencing PN only is ambiguous if multiple versions of a recipe are
present.
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
meta/classes/base.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 67b3370..d91e059 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -537,7 +537,8 @@ python () {
raise bb.parse.SkipPackage("incompatible with license %s" % license)
elif pn in whitelist:
if pn in incompatwl:
- bb.note("INCLUDING " + pn + " as buildable despite INCOMPATIBLE_LICENSE because it has been whitelisted")
+ p = d.getVar('P', True)
+ bb.note("INCLUDING " + p + " as buildable despite INCOMPATIBLE_LICENSE because it has been whitelisted")
needsrcrev = False
srcuri = d.getVar('SRC_URI', True)
--
1.9.1
More information about the Openembedded-core
mailing list