diff options
author | Leah Rowe <leah@libreboot.org> | 2021-11-30 18:40:27 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2021-11-30 18:40:27 +0000 |
commit | c7944c0e019f686bf189a872391d1f35a3775364 (patch) | |
tree | a4f386aad0c3b178cc778b73c598815deafe66d8 | |
parent | c87b6f63698d24e67c04e26a9e95a454c597d1ba (diff) |
build/roms: warn when grub_scan_disk is set incorrectly
-rwxr-xr-x | resources/scripts/build/boot/roms_helper | 1 |
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 |