From 240eb6da236cf3ecf1e28584822182e09f3447be Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 1 Nov 2021 05:26:26 +0000 Subject: memtest86plus: use coreboot's fork of it it is superior --- resources/scripts/download/memtest86plus | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'resources/scripts/download/memtest86plus') diff --git a/resources/scripts/download/memtest86plus b/resources/scripts/download/memtest86plus index 6b3b68d8..e94f54c0 100755 --- a/resources/scripts/download/memtest86plus +++ b/resources/scripts/download/memtest86plus @@ -32,37 +32,11 @@ printf "Downloading MemTest86+\n" rm -Rf "memtest86plus/" -# Get latest memtest86+: -# ------------------------------------------------------------------------------ - -# download it using wget -wget http://memtest.org/download/5.31b/memtest86+-5.31b.tar.gz - -if [ "$(sha512sum memtest86+-5.31b.tar.gz | cut -c1-128)" = "ad5891fd0c430ce7a5d0cde2d10dee20b66ad8060d47c3e70e038461d9cde3a78dfc13442b5b09da7c662741945a670353c72dbc08fd5ee8bae82256001a9541" ]; then - printf "Valid checksum for memtest86plus\n" -else - rm -f "memtest86+-5.31b.tar.gz" - printf "Invalid checksum for memtest86plus, or memtest86plus not downloaded\n" - exit 1 -fi - -# extract it -tar -xzf "memtest86+-5.31b.tar.gz" - -# delete the tar file (no longer needed) -rm -f "memtest86+-5.31b.tar.gz" - -# make direcotory name consistent -mv "memtest86+-5.31b/" "memtest86plus/" - -# Apply necessary patches -# ------------------------------------------------------------------------------ +git clone https://review.coreboot.org/memtest86plus.git ( cd "memtest86plus/" -for patch in ../resources/memtest86plus/patch/*; do - patch < "${patch}" -done +git reset --hard dd5b4ff2660a11041a05713f65ab65be19335153 ) printf "\n\n" -- cgit v1.2.1