diff options
author | Leah Rowe <leah@libreboot.org> | 2024-05-04 00:26:52 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-05-04 01:15:33 +0100 |
commit | d9c0346a003d6a149e8759bb224daa720b7254ea (patch) | |
tree | 7dc696f4b03cfcadd0d1744ffbc66fbfd0e275da /script/build/roms | |
parent | 985870297dd7aa89cb29b4c9b6e9ece82c4355c3 (diff) |
build/roms: more useful status warnings
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/roms')
-rwxr-xr-x | script/build/roms | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/script/build/roms b/script/build/roms index 1ed64004..0b10e78a 100755 --- a/script/build/roms +++ b/script/build/roms @@ -157,12 +157,15 @@ configure_target() skip_board() { - [ "$listboards" != "y" ] && [ "$status" != "stable" ] && \ - printf "WARNING: %s not stable (status=%s):\n\n" \ + if [ "$listboards" != "y" ] && [ "$status" != "stable" ]; then + printf "\n\n\t!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" + printf "\t__WARNING: %s has status '%s'__\n" \ "$board" "$status" + printf "\t!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n" + fi if [ -f "$targetdir/warn.txt" ] && [ "$listboards" != "y" ]; then - printf "Regarding board '%s' (status '%s'):\n" \ + printf "Regarding target '%s' (status '%s'):\n\n" \ "$board" "$status" cat -u "$targetdir/warn.txt" || \ $err "!cat $targetdir/warn.txt" @@ -176,7 +179,7 @@ skip_board() printf "\nTo disable this dialog when building, do:\n" printf "export LBMK_STATUS=n\n\n" while true; do - printf "Board %s has status '%s'. Skip? [y/n]" \ + printf "Board %s has status '%s'. Skip? [y/n] " \ "$board" "$status" read -r skip [ "$skip" = "y" ] && return 0 |