summaryrefslogtreecommitdiffstats
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:28:06 +0000
commitd597053ce2cc80da0144b5a9ad3a9c9d5ee19f41 (patch)
treed57ff4c79b765aa28b9a72df5f39315940671bda
parent197a4d56a979f0b7a035f7b641388c966ec4fb52 (diff)
downloadpoky-d597053ce2cc80da0144b5a9ad3a9c9d5ee19f41.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. (From OE-Core rev: 72f47df32dce91e3364e3837e2c47bdd2d632571) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 () {
556 all_skipped = skipped_pkgs and not unskipped_pkgs 556 all_skipped = skipped_pkgs and not unskipped_pkgs
557 if some_skipped: 557 if some_skipped:
558 for pkg in skipped_pkgs: 558 for pkg in skipped_pkgs:
559 bb.note("SKIPPING the package " + pkg + " at do_rootfs because it's " + recipe_license) 559 bb.debug(1, "SKIPPING the package " + pkg + " at do_rootfs because it's " + recipe_license)
560 d.setVar('LICENSE_EXCLUSION-' + pkg, 1) 560 d.setVar('LICENSE_EXCLUSION-' + pkg, 1)
561 for pkg in unskipped_pkgs: 561 for pkg in unskipped_pkgs:
562 bb.note("INCLUDING the package " + pkg) 562 bb.debug(1, "INCLUDING the package " + pkg)
563 elif all_skipped or incompatible_license(d, bad_licenses): 563 elif all_skipped or incompatible_license(d, bad_licenses):
564 bb.note("SKIPPING recipe %s because it's %s" % (pn, recipe_license)) 564 bb.debug(1, "SKIPPING recipe %s because it's %s" % (pn, recipe_license))
565 raise bb.parse.SkipPackage("incompatible with license %s" % recipe_license) 565 raise bb.parse.SkipPackage("incompatible with license %s" % recipe_license)
566 566
567 srcuri = d.getVar('SRC_URI', True) 567 srcuri = d.getVar('SRC_URI', True)