]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: siggen: Fix default handler
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Jul 2019 21:59:33 +0000 (22:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Jul 2019 08:31:48 +0000 (09:31 +0100)
After the unihash changes the default signature handler didn't work. Tweak it
to adapt to those changes (allowing the runqueue tests to work).

(Bitbake rev: 7d486d3fb7176a3486f3f2484457724d7185df58)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/siggen.py

index fe580e487ff1877661e996ae80b4f1ac3c07d5bc..3b017219ed1b4016fa6bb78aaac814e1653d543d 100644 (file)
@@ -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"""