From 09bed9a4c3257dbf9b4d59975db0071472ed67eb Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 12 Jan 2024 16:08:56 +0000 Subject: REMOVE MAINBOARD: lenovo x201 with neutered ME, fan control fails. while there are ways to mitigate it, many users will not, and will likely see their system overheat, which is very dangerous. this bug (failed fan control on neutered ME) only affects arrandale machines such as lenovo x201. the newer machines are not affected by this. other arrandale machines will probably not be added to libreboot because of this, or they will be subject to further testing. Signed-off-by: Leah Rowe --- script/vendor/download | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'script/vendor') diff --git a/script/vendor/download b/script/vendor/download index 592c14bc..42cb16ab 100755 --- a/script/vendor/download +++ b/script/vendor/download @@ -21,8 +21,7 @@ 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 \ - is_rom tree mecleaner kbc1126_ec_dump MRC_refcode_cbtree cbfstoolref \ - MRC_refcode_gbe)" + tree mecleaner kbc1126_ec_dump MRC_refcode_cbtree cbfstoolref MRC_refcode_gbe)" main() { @@ -115,16 +114,12 @@ fetch() [ "${5#/}" = "$5" ] || err "fetch: absolute path not allowed: '$5'" _dest="${5##*../}" _dl="${vendir}/cache/${dlsum}" - eval "$(setvars "n" dl_fail is_rom)" + dl_fail="n" x_ mkdir -p "${_dl%/*}" - if [ "${dl}" = "rom" ] || [ "${dl_bkup}" = "rom" ]; then - is_rom="y" - else - dl_fail="y" - vendor_checksum "${dlsum}" "${_dl}" || dl_fail="n" - fi + dl_fail="y" + vendor_checksum "${dlsum}" "${_dl}" || dl_fail="n" for url in "${dl}" "${dl_bkup}"; do [ "${dl_fail}" = "n" ] && break [ -z "${url}" ] && continue @@ -159,14 +154,9 @@ mkdirs() fi mkdir -p "${1%/*}" || err "mkdirs: !mkdir -p ${1%/*}" remkdir "${appdir}" - if [ "${is_rom}" = "y" ]; then - cp "${_dl}" "${appdir}" || \ - err "mkdirs copyrom ${_dl}: can't copy to appdir" - else - extract_archive "${_dl}" "${appdir}" || \ - [ "${2}" = "extract_e6400vga" ] || \ - err "mkdirs ${1} ${2}: !extract" - fi + extract_archive "${_dl}" "${appdir}" || \ + [ "${2}" = "extract_e6400vga" ] || \ + err "mkdirs ${1} ${2}: !extract" } extract_intel_me() -- cgit v1.2.1