]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstatesig: Update for the removal of sstate-name
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Dec 2013 09:39:35 +0000 (09:39 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Dec 2013 12:25:22 +0000 (12:25 +0000)
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.

(From OE-Core rev: 72ff58124081333d46d37f31f2d1bf40d715e3bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py

index b13d11c055662740eac613bd0f804f20340f4772..797e9dd6a98780ccb18f23377ea3e4362f672424 100644 (file)
@@ -142,9 +142,7 @@ def find_siginfo(pn, taskname, taskhashlist, d):
             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 != '*':