summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/runqueue.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 19e89e9692..c09cfd4b2c 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -223,6 +223,9 @@ class RunQueueData:
223 def get_task_file(self, task): 223 def get_task_file(self, task):
224 return self.taskData.fn_index[self.runq_fnid[task]] 224 return self.taskData.fn_index[self.runq_fnid[task]]
225 225
226 def get_task_hash(self, task):
227 return self.runq_hash[task]
228
226 def get_user_idstring(self, task, task_name_suffix = ""): 229 def get_user_idstring(self, task, task_name_suffix = ""):
227 fn = self.taskData.fn_index[self.runq_fnid[task]] 230 fn = self.taskData.fn_index[self.runq_fnid[task]]
228 taskname = self.runq_task[task] + task_name_suffix 231 taskname = self.runq_task[task] + task_name_suffix
@@ -1794,6 +1797,7 @@ class runQueueEvent(bb.event.Event):
1794 self.taskstring = rq.rqdata.get_user_idstring(task) 1797 self.taskstring = rq.rqdata.get_user_idstring(task)
1795 self.taskname = rq.rqdata.get_task_name(task) 1798 self.taskname = rq.rqdata.get_task_name(task)
1796 self.taskfile = rq.rqdata.get_task_file(task) 1799 self.taskfile = rq.rqdata.get_task_file(task)
1800 self.taskhash = rq.rqdata.get_task_hash(task)
1797 self.stats = stats.copy() 1801 self.stats = stats.copy()
1798 bb.event.Event.__init__(self) 1802 bb.event.Event.__init__(self)
1799 1803
@@ -1807,6 +1811,7 @@ class sceneQueueEvent(runQueueEvent):
1807 self.taskstring = rq.rqdata.get_user_idstring(realtask, "_setscene") 1811 self.taskstring = rq.rqdata.get_user_idstring(realtask, "_setscene")
1808 self.taskname = rq.rqdata.get_task_name(realtask) + "_setscene" 1812 self.taskname = rq.rqdata.get_task_name(realtask) + "_setscene"
1809 self.taskfile = rq.rqdata.get_task_file(realtask) 1813 self.taskfile = rq.rqdata.get_task_file(realtask)
1814 self.taskhash = rq.rqdata.get_task_hash(task)
1810 1815
1811class runQueueTaskStarted(runQueueEvent): 1816class runQueueTaskStarted(runQueueEvent):
1812 """ 1817 """