diff options
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oe/sstatesig.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 9d6d7c42fc..cb46712eea 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
| @@ -277,3 +277,15 @@ def find_siginfo(pn, taskname, taskhashlist, d): | |||
| 277 | return filedates | 277 | return filedates |
| 278 | 278 | ||
| 279 | bb.siggen.find_siginfo = find_siginfo | 279 | bb.siggen.find_siginfo = find_siginfo |
| 280 | |||
| 281 | |||
| 282 | def sstate_get_manifest_filename(task, d): | ||
| 283 | """ | ||
| 284 | Return the sstate manifest file path for a particular task. | ||
| 285 | Also returns the datastore that can be used to query related variables. | ||
| 286 | """ | ||
| 287 | d2 = d.createCopy() | ||
| 288 | extrainf = d.getVarFlag("do_" + task, 'stamp-extra-info', True) | ||
| 289 | if extrainf: | ||
| 290 | d2.setVar("SSTATE_MANMACH", extrainf) | ||
| 291 | return (d2.expand("${SSTATE_MANFILEPREFIX}.%s" % task), d2) | ||
