aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-01-15 13:22:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-18 13:04:35 +0000
commit72f47df32dce91e3364e3837e2c47bdd2d632571 (patch)
tree6e3d2dc15fc3ab3b1780b11f9c8c2ae5f5ffa507 /meta/classes/base.bbclass
parentadb06f5907e8c28c7ee08aeb7c9ca40a1a98cf5f (diff)
downloadopenembedded-core-contrib-72f47df32dce91e3364e3837e2c47bdd2d632571.tar.gz
base.bbclass: use debug messages for INCOMPATIBLE_LICENSE
Spamming potentially over a screenful of messages due to their INCOMPATIBLE_LICENSE selection seems a bit unnecessary. If the distro was configured that way, the user likely won't care, and if the user set it, they likely know the implications, so make the messages debug instead. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index f7b6fb8998..627b9436c2 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -556,12 +556,12 @@ python () {
all_skipped = skipped_pkgs and not unskipped_pkgs
if some_skipped:
for pkg in skipped_pkgs:
- bb.note("SKIPPING the package " + pkg + " at do_rootfs because it's " + recipe_license)
+ bb.debug(1, "SKIPPING the package " + pkg + " at do_rootfs because it's " + recipe_license)
d.setVar('LICENSE_EXCLUSION-' + pkg, 1)
for pkg in unskipped_pkgs:
- bb.note("INCLUDING the package " + pkg)
+ bb.debug(1, "INCLUDING the package " + pkg)
elif all_skipped or incompatible_license(d, bad_licenses):
- bb.note("SKIPPING recipe %s because it's %s" % (pn, recipe_license))
+ bb.debug(1, "SKIPPING recipe %s because it's %s" % (pn, recipe_license))
raise bb.parse.SkipPackage("incompatible with license %s" % recipe_license)
srcuri = d.getVar('SRC_URI', True)