summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-02 15:04:08 (GMT)
committerSona Sarmadi <sona.sarmadi@enea.com>2017-02-10 11:21:35 (GMT)
commit582c3aef779376d850a212a9defcfd5c2c6c3b61 (patch)
treed1933e97468db5a3cd9cb410b2e817e0fe5dc1b2
parentae9b341ecfcc60e970f29cfe04306411ad26c0cf (diff)
downloadpoky-582c3aef779376d850a212a9defcfd5c2c6c3b61.tar.gz
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 <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
-rw-r--r--meta/classes/sstate.bbclass2
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):
442 rm_nohash = ".do_%s" % ss['task'] 442 rm_nohash = ".do_%s" % ss['task']
443 for stfile in glob.glob(wildcard_stfile): 443 for stfile in glob.glob(wildcard_stfile):
444 # Keep the sigdata 444 # Keep the sigdata
445 if ".sigdata." in stfile: 445 if ".sigdata." in stfile or ".sigbasedata." in stfile:
446 continue 446 continue
447 # Preserve taint files in the stamps directory 447 # Preserve taint files in the stamps directory
448 if stfile.endswith('.taint'): 448 if stfile.endswith('.taint'):