summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 3008b7ad4f..80d7f6ca6b 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -2781,6 +2781,20 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
2781 2781
2782 update_scenequeue_data(sqdata.sq_revdeps, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True) 2782 update_scenequeue_data(sqdata.sq_revdeps, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True)
2783 2783
2784 # Compute a list of 'stale' sstate tasks where the current hash does not match the one
2785 # in any stamp files. Pass the list out to metadata as an event.
2786 found = {}
2787 for tid in rqdata.runq_setscene_tids:
2788 (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
2789 stamps = bb.build.find_stale_stamps(taskname, rqdata.dataCaches[mc], taskfn)
2790 if stamps:
2791 if mc not in found:
2792 found[mc] = {}
2793 found[mc][tid] = stamps
2794 for mc in found:
2795 event = bb.event.StaleSetSceneTasks(found[mc])
2796 bb.event.fire(event, cooker.databuilder.mcdata[mc])
2797
2784def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True): 2798def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True):
2785 2799
2786 tocheck = set() 2800 tocheck = set()