From 745d83f968a2fb090c8610fc38a160e14a1db8ab Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 21 Nov 2011 14:00:05 +0000 Subject: [PATCH] sstate.bbclass: Ensure we expand stamp-extra-info Without this change we can end up looking for .${MACHINE} instead of the expected expanded value. (From OE-Core rev: 9f743b5033177216fe0e1d3e43ba831f356df08e) (From OE-Core rev: de9f47b09d5434642ba925182ae21a8e77e7e429) Signed-off-by: Richard Purdie --- meta/classes/sstate.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 6abf55bb14..c9b84c8d6c 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: