summaryrefslogtreecommitdiff
path: root/include/blobutil.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-29 03:20:02 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-29 04:03:18 +0100
commit0bb3c596201a42ccee03d6d2b8513b42f850031e (patch)
tree0142462ef7dc99977bfe51fcf5d5f9501d87dddd /include/blobutil.sh
parent5d934be7b0119426aaad1533921b75f8618d6d79 (diff)
update/blobs/*: unified download/checksum logic
Use the same logic between blobs/download and blobs/mrc. The logic is taken from blobs/download. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/blobutil.sh')
-rwxr-xr-xinclude/blobutil.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/blobutil.sh b/include/blobutil.sh
index 6c78b381..182ddf14 100755
--- a/include/blobutil.sh
+++ b/include/blobutil.sh
@@ -1,8 +1,6 @@
# SPDX-License-Identifier: GPL-3.0-only
# SPDX-FileCopyrightText: 2023 Leah Rowe <leah@libreboot.org>
-agent="Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"
-
_7ztest="a"
_b=""
@@ -10,10 +8,9 @@ blobdir="blobs"
appdir="${blobdir}/app"
setvars="EC_url=\"\""
-for x in EC_url_bkup EC_hash DL_hash DL_url DL_url_bkup dl_path \
- E6400_VGA_DL_hash E6400_VGA_DL_url E6400_VGA_DL_url_bkup E6400_VGA_offset \
- E6400_VGA_romname SCH5545EC_DL_url SCH5545EC_DL_url_bkup \
- SCH5545EC_DL_hash; do
+for x in EC_url_bkup EC_hash DL_hash DL_url DL_url_bkup E6400_VGA_DL_hash \
+ E6400_VGA_DL_url E6400_VGA_DL_url_bkup E6400_VGA_offset E6400_VGA_romname \
+ SCH5545EC_DL_url SCH5545EC_DL_url_bkup SCH5545EC_DL_hash; do
setvars="${setvars}; ${x}=\"\""
done