summaryrefslogtreecommitdiff
path: root/script/roms
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-27 15:05:33 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-27 15:05:33 +0100
commitff2997d6ec3614b9b307ed14cbcd2fac062141d0 (patch)
treeae1a33853a6ae64bf86595022b10e8563036677c /script/roms
parentd855408a58921d1a6000af7e60953024f627926d (diff)
minor correction
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/roms')
-rwxr-xr-xscript/roms3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/roms b/script/roms
index dc3053f4..f79a8e75 100755
--- a/script/roms
+++ b/script/roms
@@ -356,7 +356,8 @@ build_grub_roms()
[ "$initmode" = "normal" ] && newrom="$romdir/${payload1}_" \
&& newrom="$newrom${board}_${initmode}_$keymap.rom"
x_ cprom "$tmpgrubrom" "$newrom"
- if [ "$payload_seabios_withgrub" = "y" ]; then
+ if [ "$payload_seabios_withgrub" = "y" ] && \
+ [ "$payload1" != "grub" ]; then
x_ "$cbfstool" "$tmpgrubrom" add \
-f "config/grub/bootorder" -n bootorder -t raw
x_ cprom "$tmpgrubrom" "${newrom%.rom}_grubfirst.rom"