summaryrefslogtreecommitdiff
path: root/resources/scripts
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2021-11-30 18:35:52 +0000
committerLeah Rowe <leah@libreboot.org>2021-11-30 18:35:52 +0000
commitc87b6f63698d24e67c04e26a9e95a454c597d1ba (patch)
treecb82235ff2400ddd974551f9d0986addf6efd8c3 /resources/scripts
parent9a0677eafd7c725bd3c92e7bafc2cd313eb50d53 (diff)
build/boot/roms: don't error out if grub_scan_disk is invalid
just set it to the default, instead
Diffstat (limited to 'resources/scripts')
-rwxr-xr-xresources/scripts/build/boot/roms_helper4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper
index 09ab65f5..c01bc0d0 100755
--- a/resources/scripts/build/boot/roms_helper
+++ b/resources/scripts/build/boot/roms_helper
@@ -68,8 +68,8 @@ source "resources/coreboot/${board}/board.cfg"
if [ "${grub_scan_disk}" != "both" ] && \
[ "${grub_scan_disk}" != "ata" ] && \
[ "${grub_scan_disk}" != "ahci" ]; then
- printf "build/roms: Target %s 's grub_scan_disk variable: invalid value. Skipping build.\n" "${board}"
- exit 1
+ grub_scan_disk="both"
+ # erroring out would be silly. just use the default
fi
if [ "${cbtree}" = "undefined" ]; then