From b7859ce55b85f06133ffb4c85e34f5d25a84f0b3 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 20 Feb 2015 00:56:41 -0500 Subject: bash scripts: Make script output more user-friendly --- (limited to 'resources/scripts/helpers/download/flashrom') diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom index 81e8cae..80a1436 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 ---------------------- -- cgit v0.9.1