]> 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>
Wed, 16 Nov 2016 10:34:24 +0000 (10:34 +0000)
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

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