[oe-commits] Richard Purdie : sstate.bbclass: Ensure we expand stamp-extra-info

git at git.openembedded.org git at git.openembedded.org
Mon Nov 21 16:50:52 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 9f743b5033177216fe0e1d3e43ba831f356df08e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9f743b5033177216fe0e1d3e43ba831f356df08e

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Nov 21 14:00:05 2011 +0000

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 at linuxfoundation.org>

---

 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 a777c79..951caa3 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:





More information about the Openembedded-commits mailing list