gnuboot/resources/grub/config
Adrien Bourmault 0df4fe5fad
GRUB: config from HDD/SSD: Add support for gnuboot_grub.cfg
The "Load Operating System (incl. fully encrypted disks) [o]" GRUB
entry tries to load grub configuration files from the hard disk or SSD
partitions. It tries various files in /boot, /grub, /grub2,
/boot/grub, /boot/grub2.

For consistency we at least need to make it search for the
gnuboot_grub.cfg in these directories as well. Since this is GNU Boot,
the gnuboot_grub.cfg takes precedence over files made for other boot
software distributions.

For libreboot_grub.cfg, it was not replaced because it is still
mentioned in the documentation.

Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
GNUtoo: reworked code and commit message.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-08-22 21:17:29 +02:00
..
AUTHORS GRUB: config from HDD/SSD: Add support for gnuboot_grub.cfg 2023-08-22 21:17:29 +02:00
COPYING libreboot! 2021-05-18 13:56:12 +01:00
grub.cfg GRUB: config from HDD/SSD: Add support for gnuboot_grub.cfg 2023-08-22 21:17:29 +02:00
grub_memdisk.cfg libreboot! 2021-05-18 13:56:12 +01:00