From: Richard Purdie Date: Wed, 2 Nov 2016 15:04:08 +0000 (+0000) Subject: sstate: Ensure we don't remove sigbasedata files X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b7c06011fa057ae1aaf828a6249e7b76485b2d5a;p=openembedded-core.git 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) Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 8c623271ad..5c88dae6b6 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'):