diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-02-20 00:56:41 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-02-20 00:56:41 (EST) |
commit | b7859ce55b85f06133ffb4c85e34f5d25a84f0b3 (patch) | |
tree | 0ac0f92216f8110a45a80be29fd80060d1408738 /resources/utilities | |
parent | a4edcd82dc5405d8b58bf6ea2ddb6f928c059049 (diff) | |
download | libreboot-b7859ce55b85f06133ffb4c85e34f5d25a84f0b3.zip libreboot-b7859ce55b85f06133ffb4c85e34f5d25a84f0b3.tar.gz libreboot-b7859ce55b85f06133ffb4c85e34f5d25a84f0b3.tar.bz2 |
bash scripts: Make script output more user-friendly
Diffstat (limited to 'resources/utilities')
-rwxr-xr-x | resources/utilities/coreboot-libre/deblob | 4 | ||||
-rwxr-xr-x | resources/utilities/coreboot-libre/findblobs | 7 | ||||
-rwxr-xr-x | resources/utilities/grub-assemble/gen.sh | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/resources/utilities/coreboot-libre/deblob b/resources/utilities/coreboot-libre/deblob index 29b330e..67a9cca 100755 --- a/resources/utilities/coreboot-libre/deblob +++ b/resources/utilities/coreboot-libre/deblob @@ -24,6 +24,8 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +printf "Deleting blobs in coreboot\n" + cd coreboot/ # --------------------- @@ -304,4 +306,6 @@ rm -f \ "src/northbridge/intel/nehalem/raminit_tables.c" \ "src/northbridge/intel/sandybridge/raminit_patterns.h" +printf "\n\n" + cd ../ diff --git a/resources/utilities/coreboot-libre/findblobs b/resources/utilities/coreboot-libre/findblobs index f424d8d..95c3246 100755 --- a/resources/utilities/coreboot-libre/findblobs +++ b/resources/utilities/coreboot-libre/findblobs @@ -11,8 +11,7 @@ set -e -u # will replace this script later on. For now, # this will have to do. -echo "finding blobs in coreboot..." - +printf "Searching for blobs in coreboot\n" cp deblob-check ../../../coreboot cd ../../../coreboot/ @@ -37,5 +36,5 @@ mv tocheck ../resources/utilities/coreboot-libre cd ../resources/utilities/coreboot-libre -echo "open resources/utilities/coreboot-libre/tocheck in an editor" -echo "this will contain the names of the files that you must decide whether they are blobs or not" +printf "Done! open resources/utilities/coreboot-libre/tocheck in an editor\n" +printf "This will contain the names of the files that you must decide whether they are blobs or not\n\n" diff --git a/resources/utilities/grub-assemble/gen.sh b/resources/utilities/grub-assemble/gen.sh index b908a6a..affa58b 100755 --- a/resources/utilities/grub-assemble/gen.sh +++ b/resources/utilities/grub-assemble/gen.sh @@ -22,6 +22,7 @@ grubdir="../../../grub" source "modules.conf" +printf "Creating GRUB ELF executable for configuration '$1'\n" if [ "$1" = "vesafb" ] then # Generate the grub.elf (vesafb) @@ -54,4 +55,5 @@ else echo "grub-assemble gen.sh: invalid mode '$1'" exit 1 fi +printf "\n\n" |