[bitbake-devel] [PATCH 2/2] cooker/runqueue: Turn universe warnings into verbnotes
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Sep 7 13:13:37 UTC 2018
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 d7e90f25d2..71a0eba8e4 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 7095ea5abc..91911aff89 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)
--
2.17.1
More information about the bitbake-devel
mailing list