summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-10-17 15:30:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-23 11:46:36 +0100
commit3daf36c62911789ceaa651c85747b8bf031ed794 (patch)
tree8876905a531edf9a5ed1aec113c8d1808daab610 /bitbake/lib/bb/runqueue.py
parent33503a6b16869aaec52a371d96230bb4bbf8c40c (diff)
downloadpoky-3daf36c62911789ceaa651c85747b8bf031ed794.tar.gz
bitbake: runqueue.py: clarify that 'closest' signature means 'most recent' (and not closest in its content)
This is printed by 'bitbake -S printdiff' and more accurately reflects what the code does. Most of the time the most recent item should be what the user wants to see when debugging sstate misses, but there could also be printdiff-all (print differences with all matching sstate objects), or printdiff-N (N most recent, and not just the latest). (Bitbake rev: 315f48f965a54da5cec92908d91aa61c2d450add) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 56147c50a8..28b9667c47 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1769,7 +1769,7 @@ class RunQueue:
1769 latestmatch = sorted(matches.keys(), key=lambda f: matches[f])[-1] 1769 latestmatch = sorted(matches.keys(), key=lambda f: matches[f])[-1]
1770 prevh = __find_sha256__.search(latestmatch).group(0) 1770 prevh = __find_sha256__.search(latestmatch).group(0)
1771 output = bb.siggen.compare_sigfiles(latestmatch, match, recursecb) 1771 output = bb.siggen.compare_sigfiles(latestmatch, match, recursecb)
1772 bb.plain("\nTask %s:%s couldn't be used from the cache because:\n We need hash %s, closest matching task was %s\n " % (pn, taskname, h, prevh) + '\n '.join(output)) 1772 bb.plain("\nTask %s:%s couldn't be used from the cache because:\n We need hash %s, most recent matching task was %s\n " % (pn, taskname, h, prevh) + '\n '.join(output))
1773 1773
1774 1774
1775class RunQueueExecute: 1775class RunQueueExecute: