File tree Expand file tree Collapse file tree 2 files changed +326
-354
lines changed
Expand file tree Collapse file tree 2 files changed +326
-354
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,17 @@ if [[ ! -f "${output_dir}/IVB_BIOSAC_PRODUCTION.bin" ]] || [[ ! -f "${output_dir
3434 # Download sinit
3535 # Original URL got rid of needed file, keeping original URL. Let's use archive.org
3636 # wget https://cdrdv2.intel.com/v1/dl/getContent/630744 -O sinit.zip
37- wget http://web.archive.org/web/20230712081031/https://cdrdv2.intel.com/v1/dl/getContent/630744 -O sinit.zip
38- unzip sinit.zip
39- mv 630744_002/SNB_IVB_SINIT_20190708_PW.bin " ${output_dir} /"
40-
41- popd || exit
37+ if wget http://web.archive.org/web/20230712081031/https://cdrdv2.intel.com/v1/dl/getContent/630744 -O sinit.zip; then
38+ unzip sinit.zip
39+ mv 630744_002/SNB_IVB_SINIT_20190708_PW.bin " ${output_dir} /"
40+ popd || exit
41+ elif wget https://dl.3mdeb.com/mirror/intel/acm/SNB_IVB_SINIT_20190708_PW.bin -O " ${output_dir} /SNB_IVB_SINIT_20190708_PW.bin" ; then
42+ # As per https://github.com/Dasharo/dasharo-issues/issues/1283#issuecomment-3178940096 : use 3mdeb's intel mirror for sinit blob
43+ popd || exit
44+ else
45+ echo " Can't download sinit blob, failing"
46+ exit 1
47+ fi
4248fi
4349
4450if ! echo " ${EC_BLOB_HASH} ${output_dir} /sch5545_ecfw.bin" | sha256sum --check; then
You can’t perform that action at this time.
0 commit comments