diff options
Diffstat (limited to 'meta/lib/oe/sstatesig.py')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 62e75c25ca..9d6d7c42fc 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -206,9 +206,6 @@ def find_siginfo(pn, taskname, taskhashlist, d): | |||
206 | if key.startswith('virtual:native:'): | 206 | if key.startswith('virtual:native:'): |
207 | pn = pn + '-native' | 207 | pn = pn + '-native' |
208 | 208 | ||
209 | if taskname in ['do_fetch', 'do_unpack', 'do_patch', 'do_populate_lic']: | ||
210 | pn.replace("-native", "") | ||
211 | |||
212 | filedates = {} | 209 | filedates = {} |
213 | 210 | ||
214 | # First search in stamps dir | 211 | # First search in stamps dir |
@@ -249,7 +246,10 @@ def find_siginfo(pn, taskname, taskhashlist, d): | |||
249 | localdata.setVar('PV', '*') | 246 | localdata.setVar('PV', '*') |
250 | localdata.setVar('PR', '*') | 247 | localdata.setVar('PR', '*') |
251 | localdata.setVar('BB_TASKHASH', hashval) | 248 | localdata.setVar('BB_TASKHASH', hashval) |
252 | if pn.endswith('-native') or "-cross-" in pn or "-crosssdk-" in pn: | 249 | swspec = localdata.getVar('SSTATE_SWSPEC', True) |
250 | if taskname in ['do_fetch', 'do_unpack', 'do_patch', 'do_populate_lic', 'do_preconfigure'] and swspec: | ||
251 | localdata.setVar('SSTATE_PKGSPEC', '${SSTATE_SWSPEC}') | ||
252 | elif pn.endswith('-native') or "-cross-" in pn or "-crosssdk-" in pn: | ||
253 | localdata.setVar('SSTATE_EXTRAPATH', "${NATIVELSBSTRING}/") | 253 | localdata.setVar('SSTATE_EXTRAPATH', "${NATIVELSBSTRING}/") |
254 | sstatename = taskname[3:] | 254 | sstatename = taskname[3:] |
255 | filespec = '%s_%s.*.siginfo' % (localdata.getVar('SSTATE_PKG', True), sstatename) | 255 | filespec = '%s_%s.*.siginfo' % (localdata.getVar('SSTATE_PKG', True), sstatename) |