[OE-core] [PATCH] sstate: Drop obsolete check in hash validation

Richard Purdie richard.purdie at linuxfoundation.org
Fri Mar 6 08:47:30 UTC 2020


Now this function has a summary parameter we can drop this check.

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

[YOCTO #13605] (with luck)

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/sstate.bbclass | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 0beeb33707b..c73c3b42a7f 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -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': []};
-- 
2.25.0



More information about the Openembedded-core mailing list