summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-04-27 16:46:31 +0100
committerLeah Rowe <leah@libreboot.org>2024-04-27 16:46:31 +0100
commit6c4f07b35071923b4b7cf66f9064108a67d28855 (patch)
tree93753531b430caee322aabab986608bc0c9fb1ac /script
parentad7e3966b9884dc3a5cff116d33cc27b0d775d27 (diff)
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>
Diffstat (limited to 'script')
-rwxr-xr-xscript/build/roms2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/build/roms b/script/build/roms
index ea7ef62c..08b9c92a 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -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"