From: Richard Purdie Date: Sat, 12 Jan 2019 16:17:08 +0000 (+0000) Subject: lib/sstatesig: Update to longer sha256 hash length X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~15640 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=910a8f3e8e350ff5d316faf5e07fb40c6c51f45e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git lib/sstatesig: Update to longer sha256 hash length Update the code to match the recent switch to sha256 hashes Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 059e165c7ab..e0eb87e29f0 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', '*')