commit | 5d8c37910d87828e914262991de7d5599d63692a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Mar 15 18:11:07 2021 +1300 |
committer | Simon Glass <sjg@chromium.org> | Sat Mar 27 15:04:31 2021 +1300 |
tree | 71b03fa908fb63a1115163fcd494123df2d6daff | |
parent | 539db6ab09c06ff052dac6c585ec1eaf3f1d6dc8 [diff] |
sandbox: Only delete the executable if requested At present sandbox removes its executable after failing to run it, since there is no other way that it would get cleaned up. However, this is actually only wanted if the image was created within sandbox. For the case where the image was generated by the build system, such as u-boot-spl, we don't want to delete it. Handle the two code paths accordingly. Signed-off-by: Simon Glass <sjg@chromium.org>