mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-21 10:12:04 +02:00
build/boot/roms: don't error out if grub_scan_disk is invalid
just set it to the default, instead
This commit is contained in:
@@ -68,8 +68,8 @@ source "resources/coreboot/${board}/board.cfg"
|
|||||||
if [ "${grub_scan_disk}" != "both" ] && \
|
if [ "${grub_scan_disk}" != "both" ] && \
|
||||||
[ "${grub_scan_disk}" != "ata" ] && \
|
[ "${grub_scan_disk}" != "ata" ] && \
|
||||||
[ "${grub_scan_disk}" != "ahci" ]; then
|
[ "${grub_scan_disk}" != "ahci" ]; then
|
||||||
printf "build/roms: Target %s 's grub_scan_disk variable: invalid value. Skipping build.\n" "${board}"
|
grub_scan_disk="both"
|
||||||
exit 1
|
# erroring out would be silly. just use the default
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${cbtree}" = "undefined" ]; then
|
if [ "${cbtree}" = "undefined" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user