summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/download/memtest86plus
diff options
context:
space:
mode:
authorKlemens Nanni <contact@autoboot.org>2015-11-18 18:56:21 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-11-21 05:26:29 (EST)
commit460c5af7c66f43517a29a2d7d7d23b5a07fa8c88 (patch)
tree9cf1633f03ee09907f335035ec0a68603d18fcea /resources/scripts/helpers/download/memtest86plus
parent04dcb0d63ca111915a0a644543a1b2a9ea84c3a5 (diff)
downloadlibreboot-460c5af7c66f43517a29a2d7d7d23b5a07fa8c88.zip
libreboot-460c5af7c66f43517a29a2d7d7d23b5a07fa8c88.tar.gz
libreboot-460c5af7c66f43517a29a2d7d7d23b5a07fa8c88.tar.bz2
download/Memtest86+: Use patches not raw files
Diffstat (limited to 'resources/scripts/helpers/download/memtest86plus')
-rwxr-xr-xresources/scripts/helpers/download/memtest86plus21
1 files changed, 6 insertions, 15 deletions
diff --git a/resources/scripts/helpers/download/memtest86plus b/resources/scripts/helpers/download/memtest86plus
index 88ba855..d7da36c 100755
--- a/resources/scripts/helpers/download/memtest86plus
+++ b/resources/scripts/helpers/download/memtest86plus
@@ -58,23 +58,14 @@ rm -f "memtest86+-5.01.tar.gz"
# make direcotory name consistent
mv "memtest86+-5.01/" "memtest86plus/"
-# there are modifications required
-cd "memtest86plus/"
-
# Apply necessary patches
# ------------------------------------------------------------------------------
-# place the right config
-rm -f "config.h"
-cp "../resources/memtest86plus/patch/config.h" .
-
-# place the right Makefile
-rm -f "Makefile"
-cp "../resources/memtest86plus/patch/Makefile" .
-
-# (diff them with defaults to see what changed)
-
-# we're done
-cd "../"
+(
+cd "memtest86plus/"
+for patch in ../resources/memtest86plus/patch/*; do
+ patch < "${patch}"
+done
+)
printf "\n\n"