lbmk/config
Leah Rowe e67cd17164 roms: only support SeaBIOS/SeaGRUB on x86
Never, ever build images where GRUB is the primary payload.

These options have been removed from target.cfg handling:

* seabios_withgrub
* grub_withseabios

The "payload_grub" variable now does the same thing as
the old "seabios_withgrub" variable, if set.

The "grubonly" configuration is retained, and enabled by
default when SeaGRUB is enabled (non-grubonly also available).

Due to lbmk issue #216, it is no longer Libreboot policy to
make GRUB the primary payload on any board. GRUB's sheer size
and complexity, plus the large number of memory corruption issues
similar to it that *have* been fixed over the years, tells me
that GRUB is a liability when it is the primary payload.

SeaBIOS is a much safer payload to run as primary, on x86, due
to its smaller size and much more conservative development; it
is simply far less likely to break.

If GRUB breaks in the future, the user's machine is not
bricked. This is because SeaBIOS is the default payload.

Since I no longer wish to ever provide GRUB as a primary
payload, supporting it in lbmk adds needless bloat that
will later probably break anyway due to lack of testing,
so let's just assume SeaGRUB in all cases where the user
wants to use a GRUB payload.

You can mitigate potential security issues with SeaBIOS
by disabling option ROM execution, which can be done at
runtime by inserting integers into CBFS. The SeaBIOS
documentation says how to do this.

Libreboot's GRUB hardening guide still says how to add
a bootorder file in CBFS, making SeaBIOS only load GRUB
from CBFS, and nothing else. This, combined with the
disablement of option ROM execution (if using Intel
graphics), pretty much provides the same security benefits
as GRUB-as-primary, for example when setting a GRUB password
and GPG checks, with encrypted /boot as in the hardening guide.

Signed-off-by: Leah Rowe <leah@libreboot.org>
2024-06-22 22:57:39 +01:00
..
coreboot roms: only support SeaBIOS/SeaGRUB on x86 2024-06-22 22:57:39 +01:00
data grub: only enable nvme if needed on a board 2024-06-12 00:58:22 +01:00
dependencies Add dependency scripts for Fedora 40 and Ubuntu 24.04 2024-06-07 13:02:40 -05:00
flashprog/patches flashprog: bump to 5b4fdd1 from 2 May 2024 2024-05-26 20:30:45 +01:00
git lib.sh: more unified config handling 2024-06-22 13:44:27 +01:00
grub roms: don't insert timeout.cfg 2024-06-19 14:32:42 +01:00
ifd config/ifd/dell_ivybridge: Add ifd_nogbe 2024-02-20 17:04:39 -07:00
memtest86plus/patches disable 32-bit memtest86plus, only build 64-bit 2023-10-09 06:06:20 +01:00
seabios/default handle build.list from config/data/, not config/ 2024-06-06 02:35:36 +01:00
submodule Libreboot 20240612 release 2024-06-12 08:43:33 +01:00
u-boot handle build.list from config/data/, not config/ 2024-06-06 02:35:36 +01:00
uefitool update/trees: generic cmake handling 2023-12-30 19:03:03 +00:00
vendor lib.sh: more unified config handling 2024-06-22 13:44:27 +01:00