diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-06-23 11:49:54 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-26 09:27:30 +0100 |
commit | 615b351bf4b28fd25f3bf15f72ab038ce37b89f7 (patch) | |
tree | 64f8a2e67df821ae5fcab47ec174abe3e50dd29e /meta/classes/sstate.bbclass | |
parent | 3fa32158c45edf276197fa56466ed942ab70be09 (diff) | |
download | poky-615b351bf4b28fd25f3bf15f72ab038ce37b89f7.tar.gz |
oe/utils.py: Add support for init/end helper functions in ThreadWorker.
Add init/end helper functions for ThreadWorker also pass ThreadWorker
as first argument to init/end/func functions this enables per-thread
storage handling.
classes/sstate.bbclass: Add thread_worker argument to checkstatus
function.
(From OE-Core rev: 08c50d62b520c8405f034e3d7adeea89e06226ee)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index a80d1ced72..1e2d4f6fc0 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -739,7 +739,7 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False): | |||
739 | if localdata.getVar('BB_NO_NETWORK', True) == "1" and localdata.getVar('SSTATE_MIRROR_ALLOW_NETWORK', True) == "1": | 739 | if localdata.getVar('BB_NO_NETWORK', True) == "1" and localdata.getVar('SSTATE_MIRROR_ALLOW_NETWORK', True) == "1": |
740 | localdata.delVar('BB_NO_NETWORK') | 740 | localdata.delVar('BB_NO_NETWORK') |
741 | 741 | ||
742 | def checkstatus(arg): | 742 | def checkstatus(thread_worker, arg): |
743 | (task, sstatefile) = arg | 743 | (task, sstatefile) = arg |
744 | 744 | ||
745 | localdata2 = bb.data.createCopy(localdata) | 745 | localdata2 = bb.data.createCopy(localdata) |