diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-09 17:28:38 +0000 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-12-17 22:08:37 -0800 |
commit | 0aee83e4e31dff7f4354e4eb4cbd35dd592e9f06 (patch) | |
tree | 319a7575768a28dc0a20192b5b8af9f87819899a /lib | |
parent | c42d00ff293d0538cad1b84c108bf7f5f49d4d84 (diff) | |
download | bitbake-contrib-0aee83e4e31dff7f4354e4eb4cbd35dd592e9f06.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>
(cherry picked from commit abcaa1398031fa5338a43859c661e6d4a9ce863d)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/siggen.py | 1 |
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: |