]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate.bbclass: Ensure we expand stamp-extra-info
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Nov 2011 14:00:05 +0000 (14:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:39:04 +0000 (16:39 +0000)
Without this change we can end up looking for <stamp>.${MACHINE}
instead of the expected expanded value.

(From OE-Core rev: 9f743b5033177216fe0e1d3e43ba831f356df08e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass

index 6abf55bb140a40e06f8435c2ca31ecd1f8efbdec..c9b84c8d6cc63358f673d02abe6f11a117bb6b0a 100644 (file)
@@ -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: