diff options
author | Leah Rowe <leah@libreboot.org> | 2023-10-15 11:22:43 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-10-15 13:00:14 +0100 |
commit | c14461a56b5203893466eaede7747047668693d8 (patch) | |
tree | c20d9fa1cebc3dfb220fb7540413d8132356ae7e /script/update/vendor/download | |
parent | d8c2c24507c0999240c74c4b85e33e1646d84e7f (diff) |
delete include/vendor.sh and merge elsewhere
move it all to other files where items are used, and not
used anywhere else. this reduces the size of vendor.sh.
also remove a few redundant variables, or variables that
are not meaningfully used.
a few items have been moved to include/option.sh
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/vendor/download')
-rwxr-xr-x | script/update/vendor/download | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/script/update/vendor/download b/script/update/vendor/download index a32be3ba..87e9d3a5 100755 --- a/script/update/vendor/download +++ b/script/update/vendor/download @@ -5,12 +5,25 @@ # SPDX-FileCopyrightText: 2023 Leah Rowe <leah@libreboot.org> . "include/err.sh" -. "include/vendor.sh" -. "include/mrc.sh" . "include/option.sh" +. "include/mrc.sh" export PATH="${PATH}:/sbin" +_ua="Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0" +_7ztest="a" + +e6400_unpack="${PWD}/src/bios_extract/dell_inspiron_1100_unpacker.py" +kbc1126_ec_dump="${PWD}/${cbdir}/util/kbc1126/kbc1126_ec_dump" +me7updateparser="${PWD}/util/me7_update_parser/me7_update_parser.py" +mecleaner="${PWD}/${cbdir}/util/me_cleaner/me_cleaner.py" +pfs_extract="${PWD}/src/biosutilities/Dell_PFS_Extract.py" +uefiextract="${PWD}/src/uefitool/uefiextract" + +eval "$(setvars "" _b _dl EC_url 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)" + main() { [ $# -gt 0 ] || err "No argument given" |