From c7944c0e019f686bf189a872391d1f35a3775364 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 30 Nov 2021 18:40:27 +0000 Subject: build/roms: warn when grub_scan_disk is set incorrectly --- resources/scripts/build/boot/roms_helper | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper index c01bc0d0..f4eeccf9 100755 --- a/resources/scripts/build/boot/roms_helper +++ b/resources/scripts/build/boot/roms_helper @@ -68,6 +68,7 @@ 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 defines an invalid grub_scan_disk setting. Defaulting to 'both'.\n" "${board}" grub_scan_disk="both" # erroring out would be silly. just use the default fi -- cgit v1.2.1