roms: fix bad comparison in configure_target()

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-07-01 03:34:09 +01:00
parent 3ee045f9ad
commit d6ff009e20
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ configure_target()
[ -n "$uboot_config" ] || uboot_config="default"
[ "$payload_uboot" = "y" ] || payload_seabios="y"
[ "$payload_grub" = "y" ] && payload_seabios="y"
[ "$payload_seabios" = "y" ] && [ -n "$payload_uboot" = "y" ] && \
[ "$payload_seabios" = "y" ] && [ "$payload_uboot" = "y" ] && \
$err "$board: U-Boot and SeaBIOS/GRUB are both enabled."
[ -z "$grub_scan_disk" ] && grub_scan_disk="nvme ahci ata"