Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] sstate: Ensure we don't remove sigbasedata files
@ 2016-11-02 15:04 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-11-02 15:04 UTC (permalink / raw)
  To: openembedded-core


We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-02 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-02 15:04 [PATCH] sstate: Ensure we don't remove sigbasedata files Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox