summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-09-28 21:45:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-29 14:11:38 +0100
commite6d967dba254a9d2a53d8b5b9469ac6b672fb1b9 (patch)
tree1d609eea94fe72004a94cd39d2e3d6fafec4f159 /bitbake/lib/toaster/orm
parent17fe16bbf4e375f941c44bcef2a205cf2ee6118f (diff)
downloadpoky-e6d967dba254a9d2a53d8b5b9469ac6b672fb1b9.tar.gz
bitbake: toaster: buildinfohelper Create a copy of the built layer and recipe
Create a copy of the built layer and the recipes associated with it. This is so that the user can view the historical information about a build. i.e. a snapshot of the layer version and artifacts produced at that build. (Bitbake rev: 0683d9a2b15e3234a94437aaebac84bfcca1420b) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.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 e0b31a92c4..9a052bf7a0 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -194,7 +194,7 @@ class Project(models.Model):
194 if release == None: 194 if release == None:
195 release = self.release 195 release = self.release
196 # layers on the same branch or layers specifically set for this project 196 # layers on the same branch or layers specifically set for this project
197 queryset = Layer_Version.objects.filter((Q(up_branch__name = release.branch_name) & Q(project = None)) | Q(project = self) | Q(build__project = self)) 197 queryset = Layer_Version.objects.filter(((Q(up_branch__name = release.branch_name) & Q(project = None)) | Q(project = self)) & Q(build__isnull=True))
198 198
199 if layer_name is not None: 199 if layer_name is not None:
200 # we select only a layer name 200 # we select only a layer name