[oe-commits] [bitbake] 02/03: cooker/runqueue: Turn universe warnings into verbnotes

git at git.openembedded.org git at git.openembedded.org
Fri Sep 7 16:49:34 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 0c87ade5678e503899e3a6cdda5329f6fc212b63
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Sep 7 14:08:59 2018 +0100

    cooker/runqueue: Turn universe warnings into verbnotes
    
    If the user puts universe on the commandline, they don't really want warnings
    so use the new verbnote level instead.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/cooker.py   | 2 +-
 lib/bb/runqueue.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index d7e90f2..71a0eba 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1594,7 +1594,7 @@ class BBCooker:
                     pkgs_to_build.append(t)
 
         if 'universe' in pkgs_to_build:
-            parselog.warning("The \"universe\" target is only intended for testing and may produce errors.")
+            parselog.verbnote("The \"universe\" target is only intended for testing and may produce errors.")
             parselog.debug(1, "collating packages for \"universe\"")
             pkgs_to_build.remove('universe')
             for mc in self.multiconfigs:
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 7095ea5..91911af 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1070,7 +1070,7 @@ class RunQueueData:
                     msg += "\n%s has unique rprovides:\n  %s" % (provfn, "\n  ".join(rprovide_results[provfn] - commonrprovs))
 
                 if self.warn_multi_bb:
-                    logger.warning(msg)
+                    logger.verbnote(msg)
                 else:
                     logger.error(msg)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list