diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-05-21 10:29:52 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-09 16:36:57 -0700 |
commit | 41f08393643ceb2607cad44d2c485b3dc9da7ec9 (patch) | |
tree | 7ad2991798666a4e22ff239ba9f1b7366aff3827 /meta | |
parent | 8bea23a89968db3d44b9fae2ceb242dfd89a4880 (diff) | |
download | openembedded-core-41f08393643ceb2607cad44d2c485b3dc9da7ec9.tar.gz |
wic: Make sure file exists before removing it
Bunch of os.remove calls were added to the partition.py lately.
They're causing wic to fail with OSError: [Errno 2] No such file or directory
if file doesn't exist.
Added check for file existence to all recently added calls of
os.remove. That should fix this regression.
(From OE-Core rev: 75162b05b5ad9aac307f7911caecb2b8a017acbf)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions