]> 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, 21 Nov 2011 15:47:40 +0000 (15:47 +0000)
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>
meta/classes/sstate.bbclass

index a777c79bb38f981c24d183f73b2c36003f121986..951caa360fae8b76732d03bc24e3a6fb7960073c 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: