]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate: Drop obsolete check in hash validation
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Mar 2020 15:27:41 +0000 (15:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Mar 2020 17:13:42 +0000 (17:13 +0000)
Now this function has a summary parameter we can drop this check.

It could well be why the mysterious "locked sigs" selftest fails
intermittently if this function were called with a single hash
to check.

[YOCTO #13605] (with luck)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass

index 0beeb33707b2c4ce3d15e178143d2640bcf8c44f..c73c3b42a7fa82635e7bddbcb751462543cc38d0 100644 (file)
@@ -966,10 +966,6 @@ def sstate_checkhashes(sq_data, d, siginfo=False, currentcount=0, summary=True,
             if len(tasklist) >= min_tasks:
                 bb.event.fire(bb.event.ProcessFinished(msg), d)
 
-    # Likely checking an individual task hash again for multiconfig sharing of sstate tasks so skip reporting
-    if len(sq_data['hash']) == 1:
-        return found
-
     inheritlist = d.getVar("INHERIT")
     if "toaster" in inheritlist:
         evdata = {'missed': [], 'found': []};