summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-01 22:17:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-01 22:18:53 +0100
commit4f4cfe8a4a0c602d6e11ea9bb75b52241deda9d6 (patch)
tree1cc57527623c066eb21b17d35ffbffd48f27912c
parent77c4865bbde4cd2a061cf333f9ad798afc6de0ef (diff)
downloadopenembedded-core-contrib-4f4cfe8a4a0c602d6e11ea9bb75b52241deda9d6.tar.gz
openembedded-core-contrib-4f4cfe8a4a0c602d6e11ea9bb75b52241deda9d6.tar.bz2
openembedded-core-contrib-4f4cfe8a4a0c602d6e11ea9bb75b52241deda9d6.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/sstate.bbclass1
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):
tasklist.append((task, sstatefile))
if tasklist:
+ bb.note("Checking sstate mirror object availability (for %s objects)" % len(tasklist))
import multiprocessing
nproc = min(multiprocessing.cpu_count(), len(tasklist))
pool = oe.utils.ThreadedPool(nproc)