summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
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:49 +0000
commit4f528b0bf3bfe26a26a72517baaae299b699bb0e (patch)
tree9ac61b7222079133d0eb60de3b6f720f336d1f9e /bitbake/lib/bb
parent5249d759dce3042b7ab5ed9dbeaec5ddbf821295 (diff)
downloadpoky-4f528b0bf3bfe26a26a72517baaae299b699bb0e.tar.gz
bitbake: 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. (Bitbake rev: abcaa1398031fa5338a43859c661e6d4a9ce863d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/siggen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index de85326872..dbf510238f 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -513,6 +513,7 @@ class SignatureGeneratorUniHashMixIn(object):
513 bb.debug(1, 'Task %s unihash changed %s -> %s by server %s' % (taskhash, unihash, new_unihash, self.server)) 513 bb.debug(1, 'Task %s unihash changed %s -> %s by server %s' % (taskhash, unihash, new_unihash, self.server))
514 bb.event.fire(bb.runqueue.taskUniHashUpdate(fn + ':do_' + task, new_unihash), d) 514 bb.event.fire(bb.runqueue.taskUniHashUpdate(fn + ':do_' + task, new_unihash), d)
515 self.set_unihash(tid, new_unihash) 515 self.set_unihash(tid, new_unihash)
516 d.setVar('BB_UNIHASH', new_unihash)
516 else: 517 else:
517 bb.debug(1, 'Reported task %s as unihash %s to %s' % (taskhash, unihash, self.server)) 518 bb.debug(1, 'Reported task %s as unihash %s to %s' % (taskhash, unihash, self.server))
518 except hashserv.client.HashConnectionError as e: 519 except hashserv.client.HashConnectionError as e: