summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-07 14:08:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-10 12:13:38 +0100
commit479a059c96882817a7f7b3765257f7acdf112348 (patch)
treeae6de771930429ea5a9999f1fdf971c61b440ff3 /bitbake/lib/bb
parent78d517e4106949c534f62b7e781f68c8b28efa2f (diff)
downloadpoky-479a059c96882817a7f7b3765257f7acdf112348.tar.gz
bitbake: 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. (Bitbake rev: 0c87ade5678e503899e3a6cdda5329f6fc212b63) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/cooker.py2
-rw-r--r--bitbake/lib/bb/runqueue.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index d7e90f25d2..71a0eba8e4 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1594,7 +1594,7 @@ class BBCooker:
1594 pkgs_to_build.append(t) 1594 pkgs_to_build.append(t)
1595 1595
1596 if 'universe' in pkgs_to_build: 1596 if 'universe' in pkgs_to_build:
1597 parselog.warning("The \"universe\" target is only intended for testing and may produce errors.") 1597 parselog.verbnote("The \"universe\" target is only intended for testing and may produce errors.")
1598 parselog.debug(1, "collating packages for \"universe\"") 1598 parselog.debug(1, "collating packages for \"universe\"")
1599 pkgs_to_build.remove('universe') 1599 pkgs_to_build.remove('universe')
1600 for mc in self.multiconfigs: 1600 for mc in self.multiconfigs:
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 7095ea5abc..91911aff89 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1070,7 +1070,7 @@ class RunQueueData:
1070 msg += "\n%s has unique rprovides:\n %s" % (provfn, "\n ".join(rprovide_results[provfn] - commonrprovs)) 1070 msg += "\n%s has unique rprovides:\n %s" % (provfn, "\n ".join(rprovide_results[provfn] - commonrprovs))
1071 1071
1072 if self.warn_multi_bb: 1072 if self.warn_multi_bb:
1073 logger.warning(msg) 1073 logger.verbnote(msg)
1074 else: 1074 else:
1075 logger.error(msg) 1075 logger.error(msg)
1076 1076