summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-27 20:44:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-11 11:06:22 +0000
commitfbde5ca5099ae4b69929b4c4ea8b0c4be02ddf51 (patch)
tree63a92138ab58002d1a39da384972e28653d8325e /bitbake/lib
parent9b0f2f2e79c72855e654765d9c072109eed3d1e9 (diff)
downloadpoky-fbde5ca5099ae4b69929b4c4ea8b0c4be02ddf51.tar.gz
bitbake: runqueue: Fix equiv hash handling build failures
Regardless of whether we remapped the hash on the server or not, we need to have bitbake work as if we did as we need to match how the stamp files look. This change resolves build failures where tasks were rerunning when they shouldn't. (Bitbake rev: 10058fe590c56ee3b4d2136b6e247c2d29ae47e6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 40928f6991436cf687821015324483b205abfcb1) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/runqueue.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 729439ef31..f82799800b 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -2302,8 +2302,9 @@ class RunQueueExecute:
2302 remapped = True 2302 remapped = True
2303 elif tid in self.scenequeue_covered or tid in self.sq_live: 2303 elif tid in self.scenequeue_covered or tid in self.sq_live:
2304 # Already ran this setscene task or it running. Report the new taskhash 2304 # Already ran this setscene task or it running. Report the new taskhash
2305 remapped = bb.parse.siggen.report_unihash_equiv(tid, newhash, origuni, newuni, self.rqdata.dataCaches) 2305 bb.parse.siggen.report_unihash_equiv(tid, newhash, origuni, newuni, self.rqdata.dataCaches)
2306 logger.info("Already covered setscene for %s so ignoring rehash (remap)" % (tid)) 2306 logger.info("Already covered setscene for %s so ignoring rehash (remap)" % (tid))
2307 remapped = True
2307 2308
2308 if not remapped: 2309 if not remapped:
2309 #logger.debug(1, "Task %s hash changes: %s->%s %s->%s" % (tid, orighash, newhash, origuni, newuni)) 2310 #logger.debug(1, "Task %s hash changes: %s->%s %s->%s" % (tid, orighash, newhash, origuni, newuni))