build/boot/roms: don't error out if grub_scan_disk is invalid

just set it to the default, instead
fsdg20230625
Leah Rowe 2021-11-30 18:35:52 +00:00
parent 9a0677eafd
commit c87b6f6369
1 changed files with 2 additions and 2 deletions

View File

@ -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