summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-02-05 14:24:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-10 23:07:50 +0000
commit9e8798fd37fb2c8e48a4cdab0a40a8aa62cd3fd3 (patch)
treed493e46c581da7746825656ffdcbd4970106a1e1 /bitbake
parentd6868d5d9db132b2634e1f7c94fbefe907cab086 (diff)
downloadast2050-yocto-poky-9e8798fd37fb2c8e48a4cdab0a40a8aa62cd3fd3.zip
ast2050-yocto-poky-9e8798fd37fb2c8e48a4cdab0a40a8aa62cd3fd3.tar.gz
bitbake: toaster: models Allow the machine's layer name to be searched
Make the layer name searchable. If you know the name of the layer you are interested in, searching for it is a fast way of getting the list of machines provided by it. (Bitbake rev: 0a2e0194fe7d949f1e9e01f7b42a7e0dc7a223f5) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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 ad7a856..4bb84bd 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -529,7 +529,7 @@ class Recipe_Dependency(models.Model):
class Machine(models.Model):
- search_allowed_fields = ["name", "description"]
+ search_allowed_fields = ["name", "description", "layer_version__layer__name"]
layer_source = models.ForeignKey('LayerSource', default = None, null = True) # from where did we get this machine
up_id = models.IntegerField(null = True, default = None) # id of entry in the source
up_date = models.DateTimeField(null = True, default = None)
OpenPOWER on IntegriCloud