Skip to contentSkip to conversation

sstate.bbclass: Ensure we expand stamp-extra-info

PATCH New Richard Purdie 1 participant 1 message Nov 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sstate.bbclass: Ensure we expand stamp-extra-info

Without this change we can end up looking for <stamp>.${MACHINE} instead of the expected expanded value.

---

meta/classes/sstate.bbclass +1 -1
index a777c79..951caa3 100644
@@ -259,7 +259,7 @@ def sstate_clean(ss, d):
             bb.utils.unlockfile(lock)
 
     stfile = d.getVar("STAMP", True) + ".do_" + ss['task']
-    extrainf = d.getVarFlag("do_" + ss['task'], 'stamp-extra-info')
+    extrainf = d.getVarFlag("do_" + ss['task'], 'stamp-extra-info', True)
     oe.path.remove(stfile)
     oe.path.remove(stfile + "_setscene")
     if extrainf: