[oe-commits] Richard Purdie : sstatesig: Update for the removal of sstate-name

git at git.openembedded.org git at git.openembedded.org
Thu Dec 19 09:43:17 UTC 2013


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

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Dec 19 09:39:35 2013 +0000

sstatesig: Update for the removal of sstate-name

We've dropped sstate-name so we can remove this code. The fallback was
incorrect since we use taskname without the do_ prefix so this patch
updates to account for that too.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oe/sstatesig.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 836a148..835cee8 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -146,9 +146,7 @@ def find_siginfo(pn, taskname, taskhashlist, d, hashfn = None):
             localdata.setVar('BB_TASKHASH', hashval)
             if pn.endswith('-native') or pn.endswith('-crosssdk') or pn.endswith('-cross'):
                 localdata.setVar('SSTATE_EXTRAPATH', "${NATIVELSBSTRING}/")
-            sstatename = d.getVarFlag(taskname, "sstate-name")
-            if not sstatename:
-                sstatename = taskname
+            sstatename = taskname[3:]
             filespec = '%s_%s.*.siginfo' % (localdata.getVar('SSTATE_PKG', True), sstatename)
 
             if hashval != '*':



More information about the Openembedded-commits mailing list