diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-09-22 10:34:52 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-23 22:44:52 +0100 |
commit | ea373586d34547747eabf9891a16ac2132d9ff92 (patch) | |
tree | e1b34ffcaf6a074314243ac779f2b1f60626d461 /bitbake/lib/toaster/orm | |
parent | 524ddd86c305af1b029c1773affe5cebffc62b28 (diff) | |
download | poky-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.py | 2 |
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) |