[meta-mentor] [PATCH 1/5] package.bbclass: make exclusion warning a note instead

Michael Brown eichisama at gmail.com
Tue May 14 15:04:01 PDT 2013


From: Christopher Larson <chris_larson at mentor.com>

This isn't a case of something questionable occurring, it's a case of the
configuration being obeyed, which is as it should be. Make it a note. The user
can still examine the do_package log if they want to know why a package isn't
being emitted.

JIRA: SB-1144

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
(cherry picked from commit 914cf0642cea6b0784f3d9fbca6d1930dadccc34)

Signed-off-by: Michael Brown <mw_brown at mentor.com>
---
 classes/package.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes/package.bbclass b/classes/package.bbclass
index efeab1c..a235b5c 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -937,7 +937,7 @@ python populate_packages () {
 
     for pkg in packages.split():
         if d.getVar('LICENSE_EXCLUSION-' + pkg, True):
-            bb.warn("%s has an incompatible license. Excluding from packaging." % pkg)
+            bb.note("%s has an incompatible license. Excluding from packaging." % pkg)
         if pkg in package_list:
             bb.error("%s is listed in PACKAGES multiple times, this leads to packaging errors." % pkg)
         else:
-- 
1.7.9.5




More information about the meta-mentor mailing list