allow disabling status checks during builds

export LBMK_STATUS=n

if not set, the status checks and confirmation dialogs
persist. if set to y they persist.

if you set it to n, all checks are disabled, so e.g.:

./build roms all

this would once again build all targets, regardless
of status. this is if you want the old behaviour.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-04-27 16:46:31 +01:00
parent ad7e3966b9
commit 6c4f07b350
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ skip_board()
return 1
if [ "$lbmk_release" != "y" ] && [ "$status" != "stable" ] && \
[ "$status" != "$release_type" ]; then
[ "$status" != "$release_type" ] && [ "$lbmk_status" = "y" ]; then
if [ -f "$targetdir/warn.txt" ]; then
printf "Regarding board '%s' (status '%s'):\n" \
"$board" "$status"