Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] sstate.bbclass: Ensure we expand stamp-extra-info
@ 2011-11-21 15:24 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2011-11-21 15:24 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index a777c79..951caa3 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -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:





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-21 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 15:24 [PATCH] sstate.bbclass: Ensure we expand stamp-extra-info Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox