summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sstate.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 994eae6eaa..4e81fc925d 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -800,7 +800,8 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False):
800 except: 800 except:
801 missed.append(task) 801 missed.append(task)
802 bb.debug(2, "SState: Unsuccessful fetch test for %s" % srcuri) 802 bb.debug(2, "SState: Unsuccessful fetch test for %s" % srcuri)
803 pass 803 pass
804 bb.event.fire(bb.event.ProcessProgress("Checking sstate mirror object availability", len(tasklist) - thread_worker.tasks.qsize()), d)
804 805
805 tasklist = [] 806 tasklist = []
806 for task in range(len(sq_fn)): 807 for task in range(len(sq_fn)):
@@ -811,7 +812,7 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False):
811 tasklist.append((task, sstatefile)) 812 tasklist.append((task, sstatefile))
812 813
813 if tasklist: 814 if tasklist:
814 bb.note("Checking sstate mirror object availability (for %s objects)" % len(tasklist)) 815 bb.event.fire(bb.event.ProcessStarted("Checking sstate mirror object availability", len(tasklist)), d)
815 import multiprocessing 816 import multiprocessing
816 nproc = min(multiprocessing.cpu_count(), len(tasklist)) 817 nproc = min(multiprocessing.cpu_count(), len(tasklist))
817 818
@@ -821,6 +822,7 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False):
821 pool.add_task(checkstatus, t) 822 pool.add_task(checkstatus, t)
822 pool.start() 823 pool.start()
823 pool.wait_completion() 824 pool.wait_completion()
825 bb.event.fire(bb.event.ProcessFinished("Checking sstate mirror object availability"), d)
824 826
825 inheritlist = d.getVar("INHERIT", True) 827 inheritlist = d.getVar("INHERIT", True)
826 if "toaster" in inheritlist: 828 if "toaster" in inheritlist: