gnuboot/resources/packages
Adrien Bourmault b7e7b5a257
packages: seabios: fix payload not being added to the GNU Boot image
A bug has been introduced in

    a202dce646
    ("images: remove 'libgfxinit' from the image names.")

where we simplified images names without taking care of renaming the filename
used as the SeaBIOS build target.

This error was visible during the generation of the images:

    Creating new ROM image: bin/[...]/seabios_kgpe-d16-[...].rom
    payload/seabios/seabios.elf: No such file or directory
    E: Could not load file 'payload/seabios/seabios.elf'.
    E: Failed while operating on 'COREBOOT' region!
    E: The image will be left unmodified.

The resulting image was then missing a payload entry and was then
non-functional (people would then just get a black screen without any OS loaded
from the disk).

GNUtoo confirmed by bisecting that the commit cited above was indeed responsible
of the bug and also that the error message above was specific to this issue.

This commit fixes this bug by setting variables to hold the actual payload
location (making future changes easier), in the relevant files.

Tested-by: Adrien 'neox' Bourmault <neox@gnu.org>
Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
GNUtoo: Added "Created new ROM image" log, made it fit,
        improved source code comment.
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-11-29 00:31:22 +01:00
..
cbutils Switch to packages structure. 2023-12-06 17:14:14 +01:00
coreboot build system: wrap git commands. 2024-09-08 17:18:53 +02:00
crossgcc Switch to packages structure. 2023-12-06 17:14:14 +01:00
dependencies dependencies: Trisquel: Add 'unifont' for Trisquel 11. 2024-10-05 11:43:25 +02:00
descriptors packages: descriptors: add tests. 2024-09-08 17:13:06 +02:00
gnuboot-source build system: wrap git commands. 2024-09-08 17:18:53 +02:00
grub build system: wrap git commands. 2024-09-08 17:18:53 +02:00
i945-thinkpads-install-utilities i945-thinkpads-install-utilities: fix build. 2024-09-08 17:31:15 +02:00
ich9utils build system: wrap git commands. 2024-09-08 17:18:53 +02:00
memtest86plus build system: wrap git commands. 2024-09-08 17:18:53 +02:00
payloads packages: coreboot: distclean: Use bash to avoid issue in PureOS. 2023-12-09 15:53:48 +01:00
release images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
rom_images packages: coreboot: distclean: Use bash to avoid issue in PureOS. 2023-12-09 15:53:48 +01:00
roms images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
roms_helper packages: seabios: fix payload not being added to the GNU Boot image 2024-11-29 00:31:22 +01:00
seabios packages: seabios: fix payload not being added to the GNU Boot image 2024-11-29 00:31:22 +01:00
src build system: wrap git commands. 2024-09-08 17:18:53 +02:00
u-boot-libre build system: wrap git commands. 2024-09-08 17:18:53 +02:00
website packages: website: release: help: fix program name. 2024-11-12 12:16:51 +01:00
README.md packages: Add extremely basic documentation for the various tasks. 2024-09-07 13:04:17 +02:00

README.md

Common tasks

boot: Produce some binary that boots and install it in bin/. clean: Remove all built files. distclean: Remove all files including build configuration files. download: Download files for offline building. Sometimes also builds or download already-built packages when Guix is being used. module: Build some project in its source tree. payload: Produce a payload and install it in payload/. release: Install files in release/ for making a GNU Boot release. test: Run automatic tests of the package.

Task specific to descriptors

build: build the Intel flash descriptors and put them in build/descriptors.

Task specific to dependencies

install: install dependencies. See the website/pages/docs/build/index.md documentation for more details.

Tasks specific to u-boot

deblob-download: See commit 4744953f73 ("u-boot-libre: move to different tasks.") for more details. deblob-release: See commit 4744953f73 ("u-boot-libre: move to different tasks.") for more details.