commit | dafc5d75bcc1ef91e4e86b8ecaee7abd500dcf35 | [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 | 41d97062e5b3e8b6808580bee6f4dc255a7bd739 [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>