summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index 846465c971..f221daca5a 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -110,9 +110,12 @@ class ORMWrapper(object):
110 for v in vars(task_object): 110 for v in vars(task_object):
111 if v in task_information.keys(): 111 if v in task_information.keys():
112 vars(task_object)[v] = task_information[v] 112 vars(task_object)[v] = task_information[v]
113 # if we got covered by a setscene task, we're CACHED 113
114 if task_object.outcome == Task.OUTCOME_COVERED and 1 == Task.objects.related_setscene(task_object).count(): 114 # update setscene-related information
115 task_object.outcome = Task.OUTCOME_CACHED 115 if 1 == Task.objects.related_setscene(task_object).count():
116 if task_object.outcome == Task.OUTCOME_COVERED:
117 task_object.outcome = Task.OUTCOME_CACHED
118
116 outcome_task_setscene = Task.objects.get(task_executed=True, build = task_object.build, 119 outcome_task_setscene = Task.objects.get(task_executed=True, build = task_object.build,
117 recipe = task_object.recipe, task_name=task_object.task_name+"_setscene").outcome 120 recipe = task_object.recipe, task_name=task_object.task_name+"_setscene").outcome
118 if outcome_task_setscene == Task.OUTCOME_SUCCESS: 121 if outcome_task_setscene == Task.OUTCOME_SUCCESS: