build/roms: always display warnings
(even if status=stable) Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
3eb59000a5
commit
3ec6607807
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue