[oe-commits] [openembedded-core] 05/08: scripts/gen-lockedsig-cache: Only look at new format sstate objects

git at git.openembedded.org git at git.openembedded.org
Mon Jan 6 23:55:07 UTC 2020


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

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

commit 610b314ddc757e6ac8ba4d47921aee1f2f35df97
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Mon Jan 6 13:14:17 2020 +0000

    scripts/gen-lockedsig-cache: Only look at new format sstate objects
    
    We can have sstate directories which are mixtures of old and new layout entries.
    Only use the new format ones since these are the only ones bitbake itself will
    look at.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/gen-lockedsig-cache | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache
index 6a7d285..cd8f9a4 100755
--- a/scripts/gen-lockedsig-cache
+++ b/scripts/gen-lockedsig-cache
@@ -80,13 +80,10 @@ for s in sigs:
     prefix = s[:2]
     prefix2 = s[2:4]
     if prefix not in sstate_content_cache:
-        sstate_content_cache[prefix] = build_sha_cache(prefix)
+        sstate_content_cache[prefix] = {}
     if prefix2 not in sstate_content_cache[prefix]:
         sstate_content_cache[prefix][prefix2] = build_sha_cache(prefix + "/" + prefix2)
 
-    if s in sstate_content_cache[prefix]:
-        for f in sstate_content_cache[prefix][s]:
-            files.add(f)
     if s in sstate_content_cache[prefix][prefix2]:
         for f in sstate_content_cache[prefix][prefix2][s]:
             files.add(f)

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


More information about the Openembedded-commits mailing list