From a9166898d29eae2a190687b96774178127411cfd Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 15 Jun 2024 23:42:45 +0100 Subject: roms: simplify grubonly check in configure_target Signed-off-by: Leah Rowe --- script/roms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script') diff --git a/script/roms b/script/roms index aeffacb8..1f294a53 100755 --- a/script/roms +++ b/script/roms @@ -127,8 +127,8 @@ configure_target() [ "$payload_grub_withseabios" = "y" ] && eval "$(setvars "y" \ payload_grub payload_seabios payload_seabios_withgrub)" [ "$payload_seabios_withgrub" = "y" ] && payload_seabios="y" - [ "$payload_seabios_grubonly" = "y" ] && payload_seabios="y" - [ "$payload_seabios_grubonly" = "y" ] && payload_seabios_withgrub="y" + [ "$payload_seabios_grubonly" = "y" ] && \ + eval "$(setvars "y" payload_seabios payload_seabios_withgrub)" # 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 -- cgit v1.2.1