[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3182/8267] sstate: Ensure we don't remove sigbasedata files



commit f6b0c60664e86fec55d282f1ea41238abd74712d
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)
    
    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 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'):


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