[oe-commits] [openembedded-core] 04/05: sstate: Ensure we don't remove sigbasedata files

git at git.openembedded.org git at git.openembedded.org
Thu Nov 3 13:33:49 UTC 2016


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

commit 1ebd85f8dfe45b92c0137547c05e013e340f9cec
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Nov 2 15:04:08 2016 +0000

    sstate: Ensure we don't remove sigbasedata files
    
    We don't remove sigdata files, we also shouldn't remove sigbasedata files
    as this hinders debugging.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/sstate.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 172384b..8643f3d 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -457,7 +457,7 @@ def sstate_clean(ss, d):
     rm_nohash = ".do_%s" % ss['task']
     for stfile in glob.glob(wildcard_stfile):
         # Keep the sigdata
-        if ".sigdata." in stfile:
+        if ".sigdata." in stfile or ".sigbasedata." in stfile:
             continue
         # Preserve taint files in the stamps directory
         if stfile.endswith('.taint'):

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


More information about the Openembedded-commits mailing list