[bitbake-devel,25/26] siggen: Fix default handler

Submitted by Richard Purdie on July 10, 2019, 11:54 p.m. | Patch ID: 162974

Details

Message ID 20190710235420.23825-25-richard.purdie@linuxfoundation.org
State Accepted
Commit 7d486d3fb7176a3486f3f2484457724d7185df58
Headers show

Commit Message

Richard Purdie July 10, 2019, 11:54 p.m.
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@linuxfoundation.org>
---
 lib/bb/siggen.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index fe580e487f..3b017219ed 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"""