diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-21 14:00:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-21 16:48:52 +0000 |
commit | 85162b74637d3d932dcbe8b4ef0cee8f2e8e6c27 (patch) | |
tree | c4a9ad41af069695cbc3e8403c3186e873383905 /meta/classes | |
parent | 5c647340127bf3d0b00a4a28ec7bf308e277f881 (diff) | |
download | poky-85162b74637d3d932dcbe8b4ef0cee8f2e8e6c27.tar.gz |
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.
(From OE-Core rev: 9f743b5033177216fe0e1d3e43ba831f356df08e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
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): | |||
259 | bb.utils.unlockfile(lock) | 259 | bb.utils.unlockfile(lock) |
260 | 260 | ||
261 | stfile = d.getVar("STAMP", True) + ".do_" + ss['task'] | 261 | stfile = d.getVar("STAMP", True) + ".do_" + ss['task'] |
262 | extrainf = d.getVarFlag("do_" + ss['task'], 'stamp-extra-info') | 262 | extrainf = d.getVarFlag("do_" + ss['task'], 'stamp-extra-info', True) |
263 | oe.path.remove(stfile) | 263 | oe.path.remove(stfile) |
264 | oe.path.remove(stfile + "_setscene") | 264 | oe.path.remove(stfile + "_setscene") |
265 | if extrainf: | 265 | if extrainf: |