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/build/roms') diff --git a/resources/scripts/helpers/build/roms/helper b/resources/scripts/helpers/build/roms/helper index d63598d..983be3d 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 18cf62e..9e1ff42 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 v0.9.1