aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/download/flashrom
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-20 05:56:41 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-02-20 05:56:41 +0000
commitb7859ce55b85f06133ffb4c85e34f5d25a84f0b3 (patch)
tree0ac0f92216f8110a45a80be29fd80060d1408738 /resources/scripts/helpers/download/flashrom
parenta4edcd82dc5405d8b58bf6ea2ddb6f928c059049 (diff)
downloadlibrebootfr-b7859ce55b85f06133ffb4c85e34f5d25a84f0b3.tar.gz
librebootfr-b7859ce55b85f06133ffb4c85e34f5d25a84f0b3.zip
bash scripts: Make script output more user-friendly
Diffstat (limited to 'resources/scripts/helpers/download/flashrom')
-rwxr-xr-xresources/scripts/helpers/download/flashrom6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom
index 81e8caed..80a14360 100755
--- a/resources/scripts/helpers/download/flashrom
+++ b/resources/scripts/helpers/download/flashrom
@@ -29,7 +29,7 @@ set -u -e
# Remove the old version that may still exist:
# ---------------------------------------------------------------------
-echo "DOWNLOADING FLASHROM"
+printf "Downloading flashrom\n"
rm -rf flashrom
@@ -44,15 +44,17 @@ svn co -r 1858 svn://flashrom.org/flashrom/trunk flashrom
cd flashrom/
# Add whitelist for X200:
+printf "Patching board_enable.c for X200 whitelist\n"
patch board_enable.c < ../resources/flashrom/patch/x200whitelist.diff
# Remove redundant definitions for the flash chips that
# supported libreboot machines use. This removes the need
# for the user to run with the "-c" argument on these machines
+printf "Patching flashchips.c to remove the redundant entries\n"
patch flashchips.c < ../resources/flashrom/patch/purged_chips.diff
cd ../
-echo "FINISHED DOWNLOADING FLASHROM"
+printf "\n\n"
# ------------------- DONE ----------------------