Skip to contentSkip to conversation

sstate: Add note when performing sstate mirror checks

PATCH New Richard Purdie 1 participant 1 message Jun 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

meta/classes/sstate.bbclass +1 -0
index de3519a..949ba4a 100644
@@ -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)