diff options
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/localhostbecontroller.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index e588924639..0a2e41d8c8 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
@@ -180,11 +180,6 @@ class LocalhostBEController(BuildEnvironmentController): | |||
180 | 180 | ||
181 | logger.debug("localhostbecontroller: current layer list %s " % pformat(layerlist)) | 181 | logger.debug("localhostbecontroller: current layer list %s " % pformat(layerlist)) |
182 | 182 | ||
183 | # 4. update the bblayers.conf | ||
184 | bblayerconf = os.path.join(self.be.builddir, "conf/bblayers.conf") | ||
185 | if not os.path.exists(bblayerconf): | ||
186 | raise BuildSetupException("BE is not consistent: bblayers.conf file missing at %s" % bblayerconf) | ||
187 | |||
188 | # 5. create custom layer and add custom recipes to it | 183 | # 5. create custom layer and add custom recipes to it |
189 | layerpath = os.path.join(self.be.builddir, | 184 | layerpath = os.path.join(self.be.builddir, |
190 | CustomImageRecipe.LAYER_NAME) | 185 | CustomImageRecipe.LAYER_NAME) |
@@ -247,10 +242,8 @@ class LocalhostBEController(BuildEnvironmentController): | |||
247 | if os.path.isdir(layerpath): | 242 | if os.path.isdir(layerpath): |
248 | layerlist.append(layerpath) | 243 | layerlist.append(layerpath) |
249 | 244 | ||
250 | BuildEnvironmentController._updateBBLayers(bblayerconf, layerlist) | ||
251 | |||
252 | self.islayerset = True | 245 | self.islayerset = True |
253 | return True | 246 | return layerlist |
254 | 247 | ||
255 | def readServerLogFile(self): | 248 | def readServerLogFile(self): |
256 | return open(os.path.join(self.be.builddir, "toaster_server.log"), "r").read() | 249 | return open(os.path.join(self.be.builddir, "toaster_server.log"), "r").read() |