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-05-23 07:56:12 +0100 |
commit | 75162b05b5ad9aac307f7911caecb2b8a017acbf (patch) | |
tree | 796a72ebfbbd839452b5897149169994b1c85901 /scripts/lib/wic/utils | |
parent | f62255bfa6c5a322c867b7c4ea5686ea7bfab3fe (diff) | |
download | openembedded-core-75162b05b5ad9aac307f7911caecb2b8a017acbf.tar.gz openembedded-core-75162b05b5ad9aac307f7911caecb2b8a017acbf.tar.bz2 openembedded-core-75162b05b5ad9aac307f7911caecb2b8a017acbf.zip |
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.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic/utils')
0 files changed, 0 insertions, 0 deletions