diff options
author | Denys Dmytriyenko <denis@denix.org> | 2023-07-05 21:55:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-19 19:39:48 +0100 |
commit | ebb8b39463cef3c3d0f90f054c433b2f5256cb1a (patch) | |
tree | 57b90f9524c164a2f9b894d88f4c2657ba2f7e85 /bitbake | |
parent | 24fe236a102c4814c7a0fb460758dff0369065ff (diff) | |
download | poky-ebb8b39463cef3c3d0f90f054c433b2f5256cb1a.tar.gz |
bitbake: runqueue: convert deferral messages from bb.note to bb.debug
Using multiconfig to target baremetal pieces of the system and building
corresponding toolchains for them results in hundreds and hundreds of
"Deferring %s after %s" and "Deferred task %s now buildable".
To clean up the output and to reduce risk of missing important warnings,
convert these notice messages to debug messages.
(Bitbake rev: 64bc00a46d1aacc23fe7e8d9a46a126f3a4bc318)
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 020ad210d8..48788f4aa6 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -2001,12 +2001,12 @@ class RunQueueExecute: | |||
2001 | # Allow the next deferred task to run. Any other deferred tasks should be deferred after that task. | 2001 | # Allow the next deferred task to run. Any other deferred tasks should be deferred after that task. |
2002 | # We shouldn't allow all to run at once as it is prone to races. | 2002 | # We shouldn't allow all to run at once as it is prone to races. |
2003 | if not found: | 2003 | if not found: |
2004 | bb.note("Deferred task %s now buildable" % t) | 2004 | bb.debug(1, "Deferred task %s now buildable" % t) |
2005 | del self.sq_deferred[t] | 2005 | del self.sq_deferred[t] |
2006 | update_scenequeue_data([t], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False) | 2006 | update_scenequeue_data([t], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False) |
2007 | found = t | 2007 | found = t |
2008 | else: | 2008 | else: |
2009 | bb.note("Deferring %s after %s" % (t, found)) | 2009 | bb.debug(1, "Deferring %s after %s" % (t, found)) |
2010 | self.sq_deferred[t] = found | 2010 | self.sq_deferred[t] = found |
2011 | 2011 | ||
2012 | def task_complete(self, task): | 2012 | def task_complete(self, task): |
@@ -2944,7 +2944,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq): | |||
2944 | sqdata.hashes[h] = tid | 2944 | sqdata.hashes[h] = tid |
2945 | else: | 2945 | else: |
2946 | sqrq.sq_deferred[tid] = sqdata.hashes[h] | 2946 | sqrq.sq_deferred[tid] = sqdata.hashes[h] |
2947 | bb.note("Deferring %s after %s" % (tid, sqdata.hashes[h])) | 2947 | bb.debug(1, "Deferring %s after %s" % (tid, sqdata.hashes[h])) |
2948 | 2948 | ||
2949 | update_scenequeue_data(sqdata.sq_revdeps, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True) | 2949 | update_scenequeue_data(sqdata.sq_revdeps, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True) |
2950 | 2950 | ||