rename seabios_withgrub images to seabios.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-09-23 16:43:02 +02:00 committed by Adrien 'neox' Bourmault
parent 6fa9af30ad
commit 80f75a334f
Signed by: neox
GPG Key ID: 57BC26A3687116F6
3 changed files with 17 additions and 9 deletions

View File

@ -73,8 +73,8 @@ test_qemu_rom_archive()
archive_files="${archive_files} \
${target}/grub_${target}_${cbfb}_${kb}.rom \
${target}/grub_${target}_${txtmode}_${kb}.rom \
${target}/seabios_withgrub_${target}_${cbfb}_${kb}.rom \
${target}/seabios_withgrub_${target}_${txtmode}_${kb}.rom \
${target}/seabios_${target}_${cbfb}_${kb}.rom \
${target}/seabios_${target}_${txtmode}_${kb}.rom \
"
done

View File

@ -385,7 +385,19 @@ mkRomsWithGrub() {
fi
tmpgrubrom="$(make_grubrom_from_keymap "${keymap}" "${tmprompath}" "${cbfstool}" "${grub_path_in_cbfs}")"
if [ "${initmode}" = "normal" ]; then
# Having too much image types complicates things too much for
# users. So we even if we can build 2 type of SeaBIOS images,
# one with GRUB and one without GRUB, we only want to show a
# single image to the user. This also requires to tell users
# that they may or may not have GRUB as secondary payload, but
# we already have this situation with memtest86+ that may or
# may not be in the image depending on the flash size.
if [ "${firstpayloadname}" = "seabios_withgrub" ] ; then
firstpayloadname="seabios"
fi
if [ "${initmode}" = "normal" ] ; then
newrompath="${romdir}/${firstpayloadname}_${board}_${initmode}_${keymap}.rom"
else
newrompath="${romdir}/${firstpayloadname}_${board}_${initmode}_${displaymode}_${keymap}.rom"

View File

@ -152,13 +152,9 @@ memtest86+, SeaBIOS, Tianacore and so on.
### seabios
ROM images with just `seabios` in the file name will start first with the
SeaBIOS payload. They will only contain SeaBIOS, but may also contain memtest as
an option in the boot menu.
### seabios\_withgrub
ROM images that have `seabios_withgrub` in the file name start with SeaBIOS
first, but also have GNU GRUB available in the boot menu when you press ESC.
SeaBIOS payload. They will only contain SeaBIOS, but may also contain
memtest and/or GNU GRUB as an option in the boot menu when you press ESC.
Which systems are supported?
============================