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/utilities') 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" -- cgit v0.9.1