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:37:44 -0700 |
commit | 6dd71217a85cbd7173dfcc4dc9e416c0c451bc9c (patch) | |
tree | bd8b2fc879e41f11640a7c32c8b1b929ed086f6e /meta/recipes-multimedia/libogg | |
parent | 417c86b42bcadb16e6db4296dadcb324b13725fd (diff) | |
download | poky-6dd71217a85cbd7173dfcc4dc9e416c0c451bc9c.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)
(From OE-Core rev: 41f08393643ceb2607cad44d2c485b3dc9da7ec9)
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/recipes-multimedia/libogg')
0 files changed, 0 insertions, 0 deletions