summaryrefslogtreecommitdiff
path: root/resources/scripts/build/boot/roms_helper
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2021-11-30 18:40:27 +0000
committerLeah Rowe <leah@libreboot.org>2021-11-30 18:40:27 +0000
commitc7944c0e019f686bf189a872391d1f35a3775364 (patch)
treea4f386aad0c3b178cc778b73c598815deafe66d8 /resources/scripts/build/boot/roms_helper
parentc87b6f63698d24e67c04e26a9e95a454c597d1ba (diff)
build/roms: warn when grub_scan_disk is set incorrectly
Diffstat (limited to 'resources/scripts/build/boot/roms_helper')
-rwxr-xr-xresources/scripts/build/boot/roms_helper1
1 files changed, 1 insertions, 0 deletions
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