gnuboot-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 2/3] packages: seabios: remove seabios_vgarom.elf


From: Adrien 'neox' Bourmault
Subject: [PATCH v2 2/3] packages: seabios: remove seabios_vgarom.elf
Date: Thu, 28 Nov 2024 23:40:15 +0100

This commit removes the generation of the unused seabios_vgarom.elf image
that was probably only used for loading nonfree firmware from external
GPU[1].

[1]: See pci-optionrom-exec in https://seabios.org/Runtime_config

Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
---
 resources/packages/roms_helper/boot | 3 +--
 resources/packages/seabios/payload  | 8 --------
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/resources/packages/roms_helper/boot 
b/resources/packages/roms_helper/boot
index 6e178ee..ea30d34 100755
--- a/resources/packages/roms_helper/boot
+++ b/resources/packages/roms_helper/boot
@@ -164,8 +164,7 @@ if [ ! -f "${cbfstool}" ]; then
 fi
 
 if [ ! -f "${seavgabiosrom}" ] \
-               || [ ! -f payload/seabios/seabios_libgfxinit.elf ] \
-               || [ ! -f payload/seabios/seabios_vgarom.elf ]; then
+               || [ ! -f payload/seabios/seabios_libgfxinit.elf ]; then
        if [ "${payload_seabios}" = "y" ]; then
                ./build payload seabios
        elif [ "${payload_grub}" = "y" ] \
diff --git a/resources/packages/seabios/payload 
b/resources/packages/seabios/payload
index 9120bff..b514da6 100755
--- a/resources/packages/seabios/payload
+++ b/resources/packages/seabios/payload
@@ -46,14 +46,6 @@ mv out/bios.bin.elf ../payload/seabios/seabios_libgfxinit.elf
 mv out/vgabios.bin ../payload/seabios/seavgabios.bin
 rm .config
 
-# for vgarom setup:
-[[ -f Makefile ]] && make distclean
-cp ../resources/seabios/config/vgarom .config
-make silentoldconfig -j$(nproc)
-make -j$(nproc)
-mv out/bios.bin.elf ../payload/seabios/seabios_vgarom.elf
-rm .config
-
 # clean it again. gotta keep it clean!
 [[ -f Makefile ]] && make distclean
 
-- 
2.46.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]