diff options
| author | Leah Rowe <leah@libreboot.org> | 2024-06-15 23:42:45 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2024-06-15 23:43:02 +0100 | 
| commit | a9166898d29eae2a190687b96774178127411cfd (patch) | |
| tree | 62dad39ce4a66ffae1f198b4e93e8e3d6379ce23 /script/roms | |
| parent | 90017cdc563e67be32d35040682d23ed4c977d3f (diff) | |
roms: simplify grubonly check in configure_target
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/roms')
| -rwxr-xr-x | script/roms | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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 | 
