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
parent 0e2c56be41
commit dbe259ef65
+7 -7
View File
@@ -168,18 +168,18 @@ skip_board()
printf "WARNING: %s not stable (status=%s):\n\n" \
"$board" "$status"
[ "$lbmk_release" = "y" ] && [ "$release" = "n" ] && return 0
[ "$lbmk_release" = "y" ] && [ "$status" = "broken" ] && return 0
[ "$lbmk_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
[ "$lbmk_release" = "y" ] && [ "$release" = "n" ] && return 0
[ "$lbmk_release" = "y" ] && [ "$status" = "broken" ] && return 0
[ "$lbmk_status" = "y" ] || return 1
[ "$status" = "stable" ] && return 1
printf "\nTo disable this dialog when building, do:\n"
printf "export LBMK_STATUS=n\n\n"
while true; do