diff options
author | Leah Rowe <leah@libreboot.org> | 2024-05-27 15:05:33 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-05-27 15:05:33 +0100 |
commit | ff2997d6ec3614b9b307ed14cbcd2fac062141d0 (patch) | |
tree | ae1a33853a6ae64bf86595022b10e8563036677c /script | |
parent | d855408a58921d1a6000af7e60953024f627926d (diff) |
minor correction
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-x | script/roms | 3 |
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" |