summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 14:13:50 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 14:20:45 (GMT)
commit0e58578ae5e9d8c1cde95ee09973568bb00abd0e (patch)
tree862ec2e54f7f64a9892afda2fc0e5184dd7873a6
parent41ed4123a687f77a2042cf50d89652639075f869 (diff)
downloadpoky-0e58578ae5e9d8c1cde95ee09973568bb00abd0e.tar.gz
bitbake: runqueue: Fix sceneQueueEvent to use the correct hashes
The runqueue should be using the "realtask" ID to lookup the task hash, not the "task" ID. This patch resolves corruption issues where incorrect task hashes were displayed within toaster. (Bitbake rev: 84be1a27f89d1bf63c21f06d831df0a66a5db860) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/runqueue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index dbb334c..90fe40b 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -2020,7 +2020,7 @@ class sceneQueueEvent(runQueueEvent):
2020 self.taskstring = rq.rqdata.get_user_idstring(realtask, "_setscene") 2020 self.taskstring = rq.rqdata.get_user_idstring(realtask, "_setscene")
2021 self.taskname = rq.rqdata.get_task_name(realtask) + "_setscene" 2021 self.taskname = rq.rqdata.get_task_name(realtask) + "_setscene"
2022 self.taskfile = rq.rqdata.get_task_file(realtask) 2022 self.taskfile = rq.rqdata.get_task_file(realtask)
2023 self.taskhash = rq.rqdata.get_task_hash(task) 2023 self.taskhash = rq.rqdata.get_task_hash(realtask)
2024 2024
2025class runQueueTaskStarted(runQueueEvent): 2025class runQueueTaskStarted(runQueueEvent):
2026 """ 2026 """