From: Andre McCurdy Date: Sat, 4 Mar 2017 05:11:12 +0000 (-0800) Subject: base.bbclass: improve wording when skipping recipes with incompatible licenses X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~22185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2047067daadb40ff3a944f380c10b2a56b8e080;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git base.bbclass: improve wording when skipping recipes with incompatible licenses The previous wording, e.g. ERROR: wget was skipped: incompatible with license GPLv3 isn't very clear and could be taken to imply that the recipe is incompatible with its own license. Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton --- diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index edac18b3b7a..14293f83c4f 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -533,7 +533,7 @@ python () { bb.debug(1, "INCLUDING the package " + pkg) elif all_skipped or incompatible_license(d, bad_licenses): bb.debug(1, "SKIPPING recipe %s because it's %s" % (pn, license)) - raise bb.parse.SkipPackage("incompatible with license %s" % license) + raise bb.parse.SkipPackage("it has an incompatible 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")