summaryrefslogtreecommitdiffstats
path: root/scripts/test-dependencies.sh
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-05-21 10:29:52 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-09 16:37:44 -0700
commit6dd71217a85cbd7173dfcc4dc9e416c0c451bc9c (patch)
treebd8b2fc879e41f11640a7c32c8b1b929ed086f6e /scripts/test-dependencies.sh
parent417c86b42bcadb16e6db4296dadcb324b13725fd (diff)
downloadast2050-yocto-poky-6dd71217a85cbd7173dfcc4dc9e416c0c451bc9c.zip
ast2050-yocto-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 'scripts/test-dependencies.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud