diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 6 |
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): | |||
217 | raise BuildSetupException("BE is not consistent: bblayers.conf file missing at %s" % bblayerconf) | 217 | raise BuildSetupException("BE is not consistent: bblayers.conf file missing at %s" % bblayerconf) |
218 | 218 | ||
219 | # 5. create custom layer and add custom recipes to it | 219 | # 5. create custom layer and add custom recipes to it |
220 | layerpath = os.path.join(self.be.sourcedir, "_meta-toaster-custom") | 220 | layerpath = os.path.join(self.be.sourcedir, |
221 | if os.path.isdir(layerpath): | 221 | "_meta-toaster-custom_", |
222 | shutil.rmtree(layerpath) # remove leftovers from previous builds | 222 | bitbake.req.project.name) |
223 | for target in targets: | 223 | for target in targets: |
224 | try: | 224 | try: |
225 | customrecipe = CustomImageRecipe.objects.get(name=target.target, | 225 | customrecipe = CustomImageRecipe.objects.get(name=target.target, |