From 0c87ade5678e503899e3a6cdda5329f6fc212b63 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 7 Sep 2018 14:08:59 +0100 Subject: 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 --- 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 d7e90f25d..71a0eba8e 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 7095ea5ab..91911aff8 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) -- cgit 1.2.3-korg