]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate: Ensure we don't remove sigbasedata files
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Nov 2016 15:04:08 +0000 (15:04 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Nov 2016 13:27:30 +0000 (13:27 +0000)
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>
meta/classes/sstate.bbclass

index 172384b37636956aa9e6c912f260e73539d25a86..8643f3d247c3860358dad26f5cd4eca01abf7646 100644 (file)
@@ -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'):