[bitbake-devel] [PATCH 18/94] bitbake: buildinfohelper: clearing up task order
Alex DAMIAN
alexandru.damian at intel.com
Tue Sep 24 16:51:47 UTC 2013
From: Alexandru DAMIAN <alexandru.damian at intel.com>
Moved code around so that the task order is issued only
on creating new task method, and not on get information.
Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
bitbake/lib/bb/ui/buildinfohelper.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index f7f98d8..c743751 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -130,11 +130,12 @@ class ORMWrapper(object):
def create_task_object(self, task_information):
# This needs to be imported after we have configured the Django settings file
+ self.task_order += 1
identifier = task_information['recipe'].name + task_information['task_name']
task_object = Task.objects.get_or_create(
build=task_information['build'],
- order=task_information['order'],
+ order=self.task_order,
task_executed=task_information['task_executed'],
outcome=task_information['outcome'],
sstate_checksum=task_information['sstate_checksum'],
--
1.8.1.2
More information about the bitbake-devel
mailing list