From 5c49230deb4b7b791e4cdd3c66ed7945fc7743c4 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Wed, 23 Mar 2016 08:28:39 +0000 Subject: bitbake: toaster: localhostbecontroller put generated layer in the builddir Move the generated layer for custom recipes into the build directory. The build directory makes more sense as this layer/recipe is generated for a particular build/project. (Bitbake rev: 77f3728ee6ea379bffcf73f33c26e982cb0795f4) Signed-off-by: Michael Wood Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bitbake') 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): raise BuildSetupException("BE is not consistent: bblayers.conf file missing at %s" % bblayerconf) # 5. create custom layer and add custom recipes to it - layerpath = os.path.join(self.be.sourcedir, - "_meta-toaster-custom_", - bitbake.req.project.name) + layerpath = os.path.join(self.be.builddir, + CustomImageRecipe.LAYER_NAME) for target in targets: try: customrecipe = CustomImageRecipe.objects.get(name=target.target, -- cgit v1.2.3-54-g00ecf