aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-07-31 08:49:04 -0600
committerTom Rini <trini@konsulko.com>2024-08-05 12:15:29 -0600
commitcbf3d274cf3b5f4623f73a784337ab4f50b3a10b (patch)
treef57ffedfd2557c06ce72f99468563a570a3e9f55 /tools
parentba35f730e817153f07ea88355399ab336319f8a7 (diff)
downloadu-boot-cbf3d274cf3b5f4623f73a784337ab4f50b3a10b.tar.gz
binman: Keep the efi_capsule input file
There is no need to remove input files. It makes it harder to diagnose failures. Keep the payload file. There is no test for this condition, but one could be added. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/etype/efi_capsule.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/binman/etype/efi_capsule.py b/tools/binman/etype/efi_capsule.py
index 1c4d1bb0e2a..5941545d0b2 100644
--- a/tools/binman/etype/efi_capsule.py
+++ b/tools/binman/etype/efi_capsule.py
@@ -148,7 +148,6 @@ class Entry_efi_capsule(Entry_section):
self.fw_version,
self.oem_flags)
if ret is not None:
- os.remove(payload)
return tools.read_file(capsule_fname)
else:
# Bintool is missing; just use the input data as the output