]> code.ossystems Code Review - openembedded-core.git/commit
devtool: deploy-target: Let script continue even if rm fails
authorDaniel Lublin <daniel@lublin.se>
Tue, 30 May 2017 11:17:59 +0000 (13:17 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Jun 2017 22:43:28 +0000 (23:43 +0100)
commitdb54c9a22a9b66c673df8e836de5e47fc9edda0b
treeceb0d326ffc97a84f53b8f5f4e4096640dee551d
parent061f2aab40fecbfe0dcb928baa95d6b3a6b45eed
devtool: deploy-target: Let script continue even if rm fails

The remote script is run with `set -e`, so doing rm without -f on a
$file that is already gone will exit the whole script, failing any
redeployment. Assume a use case where packages sometimes produces
certain test binaries stored on volatile media (tmpfs), and where the
system is occasionally rebooted.

Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/deploy.py