From patchwork Mon Nov 21 15:24:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: sstate.bbclass: Ensure we expand stamp-extra-info Date: Mon, 21 Nov 2011 15:24:28 -0000 From: Richard Purdie X-Patchwork-Id: 15193 Message-Id: <1321889068.18926.14.camel@ted> To: openembedded-core Without this change we can end up looking for .${MACHINE} instead of the expected expanded value. Signed-off-by: Richard Purdie --- 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: