fix incorrect logic on recent grub optimization patch
or was used, instead of and
This commit is contained in:
parent
b74056563f
commit
9a0677eafd
|
@ -65,10 +65,10 @@ payload_memtest="n"
|
||||||
# Override the above defaults using board.cfg
|
# Override the above defaults using board.cfg
|
||||||
source "resources/coreboot/${board}/board.cfg"
|
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 's grub_scan_disk variable: unvalid value. Skipping build.\n" "${board}"
|
printf "build/roms: Target %s 's grub_scan_disk variable: invalid value. Skipping build.\n" "${board}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue