roms: simplify grubonly check in configure_target
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
c29b3ec3fc
commit
7265b9f112
|
@ -127,8 +127,8 @@ configure_target()
|
||||||
[ "$payload_grub_withseabios" = "y" ] && eval "$(setvars "y" \
|
[ "$payload_grub_withseabios" = "y" ] && eval "$(setvars "y" \
|
||||||
payload_grub payload_seabios payload_seabios_withgrub)"
|
payload_grub payload_seabios payload_seabios_withgrub)"
|
||||||
[ "$payload_seabios_withgrub" = "y" ] && payload_seabios="y"
|
[ "$payload_seabios_withgrub" = "y" ] && payload_seabios="y"
|
||||||
[ "$payload_seabios_grubonly" = "y" ] && payload_seabios="y"
|
[ "$payload_seabios_grubonly" = "y" ] && \
|
||||||
[ "$payload_seabios_grubonly" = "y" ] && payload_seabios_withgrub="y"
|
eval "$(setvars "y" payload_seabios payload_seabios_withgrub)"
|
||||||
|
|
||||||
# The reverse logic must not be applied. If SeaBIOS-with-GRUB works,
|
# The reverse logic must not be applied. If SeaBIOS-with-GRUB works,
|
||||||
# that doesn't mean GRUB-with-SeaBIOS will, e.g. VGA ROM execution
|
# that doesn't mean GRUB-with-SeaBIOS will, e.g. VGA ROM execution
|
||||||
|
|
Loading…
Reference in New Issue