]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/sstatesig: Update to longer sha256 hash length
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Jan 2019 16:17:08 +0000 (16:17 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Jan 2019 11:21:58 +0000 (11:21 +0000)
Update the code to match the recent switch to sha256 hashes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py

index 059e165c7ab09b47d7d8624841580888217d7148..e0eb87e29f04d38b58e85beca113bd239ba832e4 100644 (file)
@@ -494,7 +494,7 @@ def find_siginfo(pn, taskname, taskhashlist, d):
 
     if not taskhashlist or (len(filedates) < 2 and not foundall):
         # That didn't work, look in sstate-cache
-        hashes = taskhashlist or ['?' * 32]
+        hashes = taskhashlist or ['?' * 64]
         localdata = bb.data.createCopy(d)
         for hashval in hashes:
             localdata.setVar('PACKAGE_ARCH', '*')