mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
devtool: build-image: remove <image>.bbappend
Removed <image>.bbappend before generating it again as it may cause tinfoil to fail due to its wrong content. It's safe to do as <image>.bbappend is regenerated anyway. (From OE-Core rev: 82c6452ca953eb32e2919d9f9e64497a15212be5) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
96726242f0
commit
2dac49db87
@@ -50,6 +50,11 @@ def build_image(args, config, basepath, workspace):
|
||||
appendfile = os.path.join(config.workspace_path, 'appends',
|
||||
'%s.bbappend' % image)
|
||||
|
||||
# remove <image>.bbapend to make sure setup_tinfoil doesn't
|
||||
# breake because of it
|
||||
if os.path.isfile(appendfile):
|
||||
os.unlink(appendfile)
|
||||
|
||||
recipes = _get_recipes(workspace, config)
|
||||
if recipes:
|
||||
with open(appendfile, 'w') as afile:
|
||||
|
||||
Reference in New Issue
Block a user