From patchwork Tue Jan 15 20:22:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [5/6] base.bbclass: use debug messages for INCOMPATIBLE_LICENSE Date: Tue, 15 Jan 2013 20:22:50 -0000 From: Christopher Larson X-Patchwork-Id: 42671 Message-Id: <52224cc927ca9a96a19d6104fc857ee505973dab.1358281118.git.chris_larson@mentor.com> To: openembedded-core@lists.openembedded.org Cc: Christopher Larson From: Christopher Larson 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 --- meta/classes/base.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index f7b6fb8..627b943 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)