summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-12-18 03:49:58 +0000
committerLeah Rowe <leah@libreboot.org>2024-12-18 03:49:58 +0000
commitf7801ef4770c7ffc51cf1db40d0a2021a2a6273a (patch)
treee056bb8cb68c32756dabb78c2842c05665d70eca /include/vendor.sh
parent02cbf8a729dd08be8a212695a9fcf93f05a8cec9 (diff)
vendor.sh: delete old tb.bin first, just in case20241206rev7
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/vendor.sh')
-rw-r--r--include/vendor.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index bd06af25..165b9a96 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -242,6 +242,7 @@ extract_tbfw()
{
chkvars TBFW_size # size in bytes, matching TBFW's flash IC
x_ mkdir -p tmp
+ x_ rm -f tmp/tb.bin
find "$appdir" -type f -name "TBT.bin" > "tmp/tb.txt" || \
$err "extract_tbfw $_dest: Can't extract TBT.bin"
while read -r f; do