diff options
| -rw-r--r-- | meta/lib/oe/sstatesig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 2cf858e201..7150bd0929 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
| @@ -382,13 +382,13 @@ def find_siginfo(pn, taskname, taskhashlist, d): | |||
| 382 | localdata.setVar('PV', '*') | 382 | localdata.setVar('PV', '*') |
| 383 | localdata.setVar('PR', '*') | 383 | localdata.setVar('PR', '*') |
| 384 | localdata.setVar('BB_TASKHASH', hashval) | 384 | localdata.setVar('BB_TASKHASH', hashval) |
| 385 | localdata.setVar('SSTATE_CURRTASK', taskname[3:]) | ||
| 385 | swspec = localdata.getVar('SSTATE_SWSPEC') | 386 | swspec = localdata.getVar('SSTATE_SWSPEC') |
| 386 | if taskname in ['do_fetch', 'do_unpack', 'do_patch', 'do_populate_lic', 'do_preconfigure'] and swspec: | 387 | if taskname in ['do_fetch', 'do_unpack', 'do_patch', 'do_populate_lic', 'do_preconfigure'] and swspec: |
| 387 | localdata.setVar('SSTATE_PKGSPEC', '${SSTATE_SWSPEC}') | 388 | localdata.setVar('SSTATE_PKGSPEC', '${SSTATE_SWSPEC}') |
| 388 | elif pn.endswith('-native') or "-cross-" in pn or "-crosssdk-" in pn: | 389 | elif pn.endswith('-native') or "-cross-" in pn or "-crosssdk-" in pn: |
| 389 | localdata.setVar('SSTATE_EXTRAPATH', "${NATIVELSBSTRING}/") | 390 | localdata.setVar('SSTATE_EXTRAPATH', "${NATIVELSBSTRING}/") |
| 390 | sstatename = taskname[3:] | 391 | filespec = '%s.siginfo' % localdata.getVar('SSTATE_PKG') |
| 391 | filespec = '%s_%s.*.siginfo' % (localdata.getVar('SSTATE_PKG'), sstatename) | ||
| 392 | 392 | ||
| 393 | matchedfiles = glob.glob(filespec) | 393 | matchedfiles = glob.glob(filespec) |
| 394 | for fullpath in matchedfiles: | 394 | for fullpath in matchedfiles: |
