summaryrefslogtreecommitdiff
path: root/script/roms
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-15 23:38:19 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-15 23:38:19 +0100
commit90017cdc563e67be32d35040682d23ed4c977d3f (patch)
treed6ecd8b4100098f2f137a9e40cc0b090e2e5adc0 /script/roms
parent817004e151a1c8a70150011ba78bdbd390ecb776 (diff)
roms: simplify seagrub check in configure_target
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/roms')
-rwxr-xr-xscript/roms5
1 files changed, 2 insertions, 3 deletions
diff --git a/script/roms b/script/roms
index 57657cad..aeffacb8 100755
--- a/script/roms
+++ b/script/roms
@@ -124,9 +124,8 @@ configure_target()
[ "$payload_memtest" != "y" ] && payload_memtest="n"
[ "$(uname -m)" = "x86_64" ] || payload_memtest="n"
- [ "$payload_grub_withseabios" = "y" ] && payload_grub="y"
- [ "$payload_grub_withseabios" = "y" ] && \
- eval "$(setvars "y" payload_seabios payload_seabios_withgrub)"
+ [ "$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"