From b7859ce55b85f06133ffb4c85e34f5d25a84f0b3 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 20 Feb 2015 05:56:41 +0000 Subject: bash scripts: Make script output more user-friendly --- resources/scripts/helpers/build/roms/helper | 6 +++++- resources/scripts/helpers/build/roms/withgrub | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'resources/scripts/helpers/build/roms') diff --git a/resources/scripts/helpers/build/roms/helper b/resources/scripts/helpers/build/roms/helper index d63598d7..983be3df 100755 --- a/resources/scripts/helpers/build/roms/helper +++ b/resources/scripts/helpers/build/roms/helper @@ -31,7 +31,9 @@ if (( $# != 1 )); then exit 1 fi -cd coreboot +printf "Helper script: build ROM images for '$1'\n" + +cd coreboot/ # Build ROM images with text-mode and corebootfb modes. # --------------------------------------------------------------------------------------------------------------- @@ -113,3 +115,5 @@ mv "$1" ../bin # go back to main source directory cd ../ +printf "\n\n" + diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index 18cf62e0..9e1ff425 100755 --- a/resources/scripts/helpers/build/roms/withgrub +++ b/resources/scripts/helpers/build/roms/withgrub @@ -25,7 +25,7 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e -# Build the ROM images +printf "Building ROM images with the GRUB payload\n" if [ ! -d "bin" ] then @@ -103,5 +103,7 @@ rm -f coreboot/grub_txtmode.elf # The GRUB configs are no longer needed rm -f coreboot/grub*cfg +printf "\n\n" + # ------------------- DONE ---------------------- -- cgit v1.2.3-70-g09d2