build/roms: always display warnings

(even if status=stable)

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2024-04-28 20:42:37 +01:00 committed by Leah Rowe
parent 3eb59000a5
commit 3ec6607807

View file

@ -168,18 +168,18 @@ skip_board()
printf "WARNING: %s not stable (status=%s):\n\n" \
"$board" "$status"
[ "$cbmk_release" = "y" ] && [ "$release" = "n" ] && return 0
[ "$cbmk_release" = "y" ] && [ "$status" = "broken" ] && return 0
[ "$cbmk_status" = "y" ] || return 1
[ "$status" = "stable" ] && return 1
if [ -f "$targetdir/warn.txt" ]; then
if [ -f "$targetdir/warn.txt" ] && [ "$listboards" != "y" ]; then
printf "Regarding board '%s' (status '%s'):\n" \
"$board" "$status"
cat -u "$targetdir/warn.txt" || \
$err "!cat $targetdir/warn.txt"
fi
[ "$cbmk_release" = "y" ] && [ "$release" = "n" ] && return 0
[ "$cbmk_release" = "y" ] && [ "$status" = "broken" ] && return 0
[ "$cbmk_status" = "y" ] || return 1
[ "$status" = "stable" ] && return 1
printf "\nTo disable this dialog when building, do:\n"
printf "export CBMK_STATUS=n\n\n"
while true; do