diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-07 14:08:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-07 14:13:27 +0100 |
commit | 0c87ade5678e503899e3a6cdda5329f6fc212b63 (patch) | |
tree | 0097a43937b68dd982c90c9c25fe322fecadf2a3 /lib | |
parent | 2076f12cc2f809345108b1606bd6201f41287505 (diff) | |
download | bitbake-0c87ade5678e503899e3a6cdda5329f6fc212b63.tar.gz |
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@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/cooker.py | 2 | ||||
-rw-r--r-- | 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) |