summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-09-22 10:34:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 22:44:52 +0100
commitea373586d34547747eabf9891a16ac2132d9ff92 (patch)
treee1b34ffcaf6a074314243ac779f2b1f60626d461 /bitbake/lib/toaster/orm
parent524ddd86c305af1b029c1773affe5cebffc62b28 (diff)
downloadpoky-ea373586d34547747eabf9891a16ac2132d9ff92.tar.gz
bitbake: toaster: store task name in Target objects
Information about a task is not stored in Target objects. This makes it impossible to correctly operate with the builds where task is specified. Storing taks name is an enabler for other fixes in UI and backend related to restarting builds. (Bitbake rev: 0a69a8a18075c976ed8681d9d75529f8c2f48514) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm')
-rw-r--r--bitbake/lib/toaster/orm/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index e4d2e87ae9..883ecf4e50 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -270,7 +270,7 @@ class Project(models.Model):
270 ) 270 )
271 for t in self.projecttarget_set.all(): 271 for t in self.projecttarget_set.all():
272 BRTarget.objects.create(req = br, target = t.target, task = t.task) 272 BRTarget.objects.create(req = br, target = t.target, task = t.task)
273 Target.objects.create(build = br.build, target = t.target) 273 Target.objects.create(build = br.build, target = t.target, task = t.task)
274 274
275 for v in self.projectvariable_set.all(): 275 for v in self.projectvariable_set.all():
276 BRVariable.objects.create(req = br, name = v.name, value = v.value) 276 BRVariable.objects.create(req = br, name = v.name, value = v.value)