diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-01 22:17:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-03 16:38:45 +0100 |
commit | 801436bf315e01e945e073ada79beaa98e824e0e (patch) | |
tree | 747f29fbc0a97895e9900ec1ffda44917f84b0af /meta/classes | |
parent | 1f839f233ebe46421ada54d88a37713ea0a6bcad (diff) | |
download | poky-801436bf315e01e945e073ada79beaa98e824e0e.tar.gz |
sstate: Add note when performing sstate mirror checks
The build can pause whilst remote sstate mirrors are checked for
sstate objects. Inform the user this is happening.
(From OE-Core rev: 4f4cfe8a4a0c602d6e11ea9bb75b52241deda9d6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sstate.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index de3519a69e..949ba4a288 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -744,6 +744,7 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False): | |||
744 | tasklist.append((task, sstatefile)) | 744 | tasklist.append((task, sstatefile)) |
745 | 745 | ||
746 | if tasklist: | 746 | if tasklist: |
747 | bb.note("Checking sstate mirror object availability (for %s objects)" % len(tasklist)) | ||
747 | import multiprocessing | 748 | import multiprocessing |
748 | nproc = min(multiprocessing.cpu_count(), len(tasklist)) | 749 | nproc = min(multiprocessing.cpu_count(), len(tasklist)) |
749 | pool = oe.utils.ThreadedPool(nproc) | 750 | pool = oe.utils.ThreadedPool(nproc) |