diff options
| -rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 9deb572839..08419f2ded 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
| @@ -218,9 +218,8 @@ class LocalhostBEController(BuildEnvironmentController): | |||
| 218 | raise BuildSetupException("BE is not consistent: bblayers.conf file missing at %s" % bblayerconf) | 218 | raise BuildSetupException("BE is not consistent: bblayers.conf file missing at %s" % bblayerconf) |
| 219 | 219 | ||
| 220 | # 5. create custom layer and add custom recipes to it | 220 | # 5. create custom layer and add custom recipes to it |
| 221 | layerpath = os.path.join(self.be.sourcedir, | 221 | layerpath = os.path.join(self.be.builddir, |
| 222 | "_meta-toaster-custom_", | 222 | CustomImageRecipe.LAYER_NAME) |
| 223 | bitbake.req.project.name) | ||
| 224 | for target in targets: | 223 | for target in targets: |
| 225 | try: | 224 | try: |
| 226 | customrecipe = CustomImageRecipe.objects.get(name=target.target, | 225 | customrecipe = CustomImageRecipe.objects.get(name=target.target, |
