summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 4d8443be4..d367faaa7 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -241,7 +241,9 @@ def sstate_clean(ss, d):
for lock in locks:
bb.utils.unlockfile(lock)
- oe.path.remove(d.getVar("STAMP", True) + ".do_" + ss['task'] + "*")
+ stfile = d.getVar("STAMP", True) + ".do_" + ss['task']
+ oe.path.remove(stfile)
+ oe.path.remove(stfile + ".*")
CLEANFUNCS += "sstate_cleanall"