[oe-commits] [bitbake] 22/24: siggen: Fix default handler

git at git.openembedded.org git at git.openembedded.org
Thu Jul 11 11:33:15 UTC 2019


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

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 84bdd93ffa1d17e06528b1024fc334fddd3091fe
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Jul 9 22:59:33 2019 +0100

    siggen: Fix default handler
    
    After the unihash changes the default signature handler didn't work. Tweak it
    to adapt to those changes (allowing the runqueue tests to work).
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/siggen.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index fe580e4..3b01721 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -49,7 +49,8 @@ class SignatureGenerator(object):
         return self.taskhash[task]
 
     def get_taskhash(self, fn, task, deps, dataCache):
-        return "0"
+        self.taskhash[fn + "." + task] = "0"
+        return self.taskhash[fn + "." + task]
 
     def writeout_file_checksum_cache(self):
         """Write/update the file checksum cache onto disk"""

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


More information about the Openembedded-commits mailing list