Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] sstatesig: Update for the removal of sstate-name
@ 2013-12-19  9:39 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-12-19  9:39 UTC (permalink / raw)
  To: openembedded-core

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@linuxfoundation.org>
---
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 != '*':




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-19  9:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19  9:39 [PATCH] sstatesig: Update for the removal of sstate-name Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox