[oe-commits] [openembedded-core] 01/01: sstate: Drop obsolete check in hash validation

git at git.openembedded.org git at git.openembedded.org
Fri Mar 6 09:00:41 UTC 2020


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 03de6680463bb764ad985119b3898530b198e12c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Mar 5 15:27:41 2020 +0000

    sstate: Drop obsolete check in hash validation
    
    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 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 0beeb33..c73c3b4 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': []};

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


More information about the Openembedded-commits mailing list