mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-20 05:36:23 +02:00
build/roms: warn when grub_scan_disk is set incorrectly
This commit is contained in:
@@ -68,6 +68,7 @@ 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 defines an invalid grub_scan_disk setting. Defaulting to 'both'.\n" "${board}"
|
||||||
grub_scan_disk="both"
|
grub_scan_disk="both"
|
||||||
# erroring out would be silly. just use the default
|
# erroring out would be silly. just use the default
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user