summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/devtool/build-image.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/devtool/build-image.py b/scripts/lib/devtool/build-image.py
index 563563b3e7..5bc82134c1 100644
--- a/scripts/lib/devtool/build-image.py
+++ b/scripts/lib/devtool/build-image.py
@@ -50,6 +50,11 @@ def build_image(args, config, basepath, workspace):
50 appendfile = os.path.join(config.workspace_path, 'appends', 50 appendfile = os.path.join(config.workspace_path, 'appends',
51 '%s.bbappend' % image) 51 '%s.bbappend' % image)
52 52
53 # remove <image>.bbapend to make sure setup_tinfoil doesn't
54 # breake because of it
55 if os.path.isfile(appendfile):
56 os.unlink(appendfile)
57
53 recipes = _get_recipes(workspace, config) 58 recipes = _get_recipes(workspace, config)
54 if recipes: 59 if recipes:
55 with open(appendfile, 'w') as afile: 60 with open(appendfile, 'w') as afile: