summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/bbcontroller.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-09 19:56:38 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-14 23:13:07 +0000
commit84daa40bc7600df75d93db358be94cac10452936 (patch)
treed23c913ca773bd04720e0cbfe6a98a199cee3dec /bitbake/lib/toaster/bldcontrol/bbcontroller.py
parentc464f34d5bd3aa4119aa3d1591ee7d55afe9b35f (diff)
downloadpoky-84daa40bc7600df75d93db358be94cac10452936.tar.gz
bitbake: toaster: use OneToOneField instead of ForeignKey
Used OneToOneField to reference BuildRequest in BRBitbake model. Fixed django warning: WARNINGS: Setting unique=True on a ForeignKey has the same effect as using a OneToOneField. (Bitbake rev: aaa4319ebbb06facb77b4ba936cf3aa2068ff238) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.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/bldcontrol/bbcontroller.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/bbcontroller.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
index 781ff73d1a..1387bdaa7b 100644
--- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
@@ -141,10 +141,10 @@ class BuildEnvironmentController(object):
141 raise Exception("FIXME: Must override in order to actually start the BB server") 141 raise Exception("FIXME: Must override in order to actually start the BB server")
142 142
143 143
144 def setLayers(self, bbs, ls): 144 def setLayers(self, bitbake, ls):
145 """ Checks-out bitbake executor and layers from git repositories. 145 """ Checks-out bitbake executor and layers from git repositories.
146 Sets the layer variables in the config file, after validating local layer paths. 146 Sets the layer variables in the config file, after validating local layer paths.
147 The bitbakes must be a 1-length list of BRBitbake 147 bitbake must be a single BRBitbake instance
148 The layer paths must be in a list of BRLayer object 148 The layer paths must be in a list of BRLayer object
149 149
150 a word of attention: by convention, the first layer for any build will be poky! 150 a word of attention: by convention, the first layer for any build will be poky!