[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 09/15] rename seabios_withgrub images to seabios.
From: |
Denis 'GNUtoo' Carikli |
Subject: |
[PATCH v1 09/15] rename seabios_withgrub images to seabios. |
Date: |
Mon, 23 Sep 2024 16:43:02 +0200 |
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
resources/packages/release/test | 4 ++--
resources/packages/roms_helper/boot | 14 +++++++++++++-
website/pages/docs/install/install.md | 8 ++------
3 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/resources/packages/release/test b/resources/packages/release/test
index 096a3be..f3b7faa 100755
--- a/resources/packages/release/test
+++ b/resources/packages/release/test
@@ -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
diff --git a/resources/packages/roms_helper/boot
b/resources/packages/roms_helper/boot
index 588810c..b95f390 100755
--- a/resources/packages/roms_helper/boot
+++ b/resources/packages/roms_helper/boot
@@ -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"
diff --git a/website/pages/docs/install/install.md
b/website/pages/docs/install/install.md
index d7c749e..b6e4253 100644
--- a/website/pages/docs/install/install.md
+++ b/website/pages/docs/install/install.md
@@ -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?
============================
--
2.46.0
- [PATCH v1 01/15] guix: gnuboot-trisquel-preseed.img: enable to disable tests., (continued)
- [PATCH v1 01/15] guix: gnuboot-trisquel-preseed.img: enable to disable tests., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 03/15] guix: gnuboot-trisquel-preseed.img: add missing inputs., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 02/15] guix: gnuboot-trisquel-preseed.img: Make it reproducible., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 08/15] Remove images with the seabios_grubfirst main payload., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 14/15] dependencies: Trisquel 10: fix pandoc install., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 15/15] dependencies: Trisquel: Add 'unifont' for Trisquel 11., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 13/15] dependencies: Trisquel 10: Fix script for non-english locales., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 05/15] packages: roms: download: fix missing qemu-img., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 07/15] website: history: copyright: add reviewed website/pages/global.css file., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 10/15] images: remove 'libgfxinit' from the image names., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 09/15] rename seabios_withgrub images to seabios.,
Denis 'GNUtoo' Carikli <=
- [PATCH v1 12/15] website: history: copyright: add verified resources/dependencies/trisquel-10 file., Denis 'GNUtoo' Carikli, 2024/09/23
- [PATCH v1 11/15] dependencies: Trisquel 10: Add copyright header., Denis 'GNUtoo' Carikli, 2024/09/23