summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-21 14:00:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-21 15:47:40 +0000
commit9f743b5033177216fe0e1d3e43ba831f356df08e (patch)
tree512adcd34344811d3a064858121ed37fca27c054
parentd52bdbee35bb6edc55eed613f869e46d0c0a2f31 (diff)
downloadopenembedded-core-9f743b5033177216fe0e1d3e43ba831f356df08e.tar.gz
openembedded-core-9f743b5033177216fe0e1d3e43ba831f356df08e.tar.bz2
openembedded-core-9f743b5033177216fe0e1d3e43ba831f356df08e.zip
sstate.bbclass: Ensure we expand stamp-extra-info
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>
-rw-r--r--meta/classes/sstate.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index a777c79bb3..951caa360f 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: