[gnome-continuous-yocto/gnomeostree-3.22-krogoth: 166/246] sstate: Ensure we don't remove sigbasedata files



commit 1bccc216eed82adad60d7d3765aee7b138e263c2
Author: Richard Purdie <richard purdie linuxfoundation org>
Date:   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.
    
    (From OE-Core rev: 1ebd85f8dfe45b92c0137547c05e013e340f9cec)
    
    (From OE-Core rev: 3764a5ce8a1f26b46c389c256c10596ed8d31cc7)
    
    (From OE-Core rev: b7c06011fa057ae1aaf828a6249e7b76485b2d5a)
    
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
    Signed-off-by: Armin Kuster <akuster808 gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/sstate.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 8c62327..5c88dae 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -442,7 +442,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'):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]