Skip to contentSkip to conversation

sstatesig: Update for the removal of sstate-name

PATCH New Richard Purdie 1 participant 1 message Dec 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

meta/lib/oe/sstatesig.py +1 -3
index 836a148..835cee8 100644
@@ -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 != '*':