aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/localhostbecontroller.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index efd82c325b..38e97a2e27 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -217,9 +217,9 @@ 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")
- if os.path.isdir(layerpath):
- shutil.rmtree(layerpath) # remove leftovers from previous builds
+ layerpath = os.path.join(self.be.sourcedir,
+ "_meta-toaster-custom_",
+ bitbake.req.project.name)
for target in targets:
try:
customrecipe = CustomImageRecipe.objects.get(name=target.target,