[oe-commits] [bitbake] branch master updated: siggen: Ensure new unihash propagates through the system

git at git.openembedded.org git at git.openembedded.org
Mon Dec 9 17:30:45 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository bitbake.

The following commit(s) were added to refs/heads/master by this push:
     new abcaa13  siggen: Ensure new unihash propagates through the system
abcaa13 is described below

commit abcaa1398031fa5338a43859c661e6d4a9ce863d
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Mon Dec 9 17:28:38 2019 +0000

    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 at linuxfoundation.org>
---
 lib/bb/siggen.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index de85326..dbf5102 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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list