mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 17:02:22 +02:00
sstate: Add tweak to avoid multiple sstate stats messages
After the recent changes in bitbake to runqueue, we need to recheck sstate validity, particularly in multiconfig builds where tasks have the same checksum. Avoid printing summary messages in this case. Also avoid multiple events to toaster which may not be expecting that at later points in the code. (From OE-Core rev: 227125b96ad6fb0cf6e259e787d83415993db847) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -927,6 +927,10 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False, *,
|
||||
|
||||
bb.event.fire(bb.event.ProcessFinished(msg), d)
|
||||
|
||||
# Likely checking an individual task hash again for multiconfig sharing of sstate tasks so skip reporting
|
||||
if len(sq_fn) == 1:
|
||||
return ret
|
||||
|
||||
inheritlist = d.getVar("INHERIT")
|
||||
if "toaster" in inheritlist:
|
||||
evdata = {'missed': [], 'found': []};
|
||||
|
||||
Reference in New Issue
Block a user