[OE-core] [PATCH] sstate.bbclass: Ensure we expand stamp-extra-info
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Nov 21 15:24:28 UTC 2011
Without this change we can end up looking for <stamp>.${MACHINE}
instead of the expected expanded value.
Signed-off-by: Richard Purdie <richard.purdie at 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:
More information about the Openembedded-core
mailing list