[oe-commits] [openembedded-core] 22/27: lib/sstatesig: Update to longer sha256 hash length

git at git.openembedded.org git at git.openembedded.org
Mon Jan 14 11:23:11 UTC 2019


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

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

commit 910a8f3e8e350ff5d316faf5e07fb40c6c51f45e
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Jan 12 16:17:08 2019 +0000

    lib/sstatesig: Update to longer sha256 hash length
    
    Update the code to match the recent switch to sha256 hashes
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oe/sstatesig.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 059e165..e0eb87e 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -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', '*')

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


More information about the Openembedded-commits mailing list