aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/siggen.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-09 17:28:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-09 17:29:43 +0000
commitabcaa1398031fa5338a43859c661e6d4a9ce863d (patch)
treebdbb09ae57beea9f87c50e41a3bd3b69baf2e65b /lib/bb/siggen.py
parent61624a3fc38e8546e01356d5ce7a09f21e7094ab (diff)
downloadbitbake-abcaa1398031fa5338a43859c661e6d4a9ce863d.tar.gz
siggen: Ensure new unihash propagates through the system
Its possible the new unihash may not exist in sstate. Currently the code would create an sstate object with the old hash however this updates it to create the object with the new unihash. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/siggen.py')
-rw-r--r--lib/bb/siggen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index de8532687..dbf510238 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -513,6 +513,7 @@ class SignatureGeneratorUniHashMixIn(object):
bb.debug(1, 'Task %s unihash changed %s -> %s by server %s' % (taskhash, unihash, new_unihash, self.server))
bb.event.fire(bb.runqueue.taskUniHashUpdate(fn + ':do_' + task, new_unihash), d)
self.set_unihash(tid, new_unihash)
+ d.setVar('BB_UNIHASH', new_unihash)
else:
bb.debug(1, 'Reported task %s as unihash %s to %s' % (taskhash, unihash, self.server))
except hashserv.client.HashConnectionError as e: