summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-09 17:28:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-11 11:06:22 +0000
commit7448f9a180e46ee404b05f50437b55c79bc601e5 (patch)
treeae9da352b76910b796c4ae43fa24f8a1a409dead /bitbake
parent376f8eaeb9ef22b2e94b78d368c57b79de9c32a5 (diff)
downloadpoky-7448f9a180e46ee404b05f50437b55c79bc601e5.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: 0aee83e4e31dff7f4354e4eb4cbd35dd592e9f06) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit abcaa1398031fa5338a43859c661e6d4a9ce863d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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: