lbmk/config/grub
Leah Rowe e1883f1d5a grub.cfg: use grub_scan_disk to set boot order
Previously, grub_scan_disk could set ata, ahci or "both",
which would make both be tried (ahci first). This worked
when we only dealt with ata and ahci devices, but now we
support nvme devices so the logic is inherently flawed.

Instead, use grub_scan_disk to store the boot order, e.g.:

grub_scan_disk="ahci nvme ata"

grub_scan_disk="nvme ata"

In the first example, it would make GRUB scan ahci first,
then nvme and then ata.

In the secontd example, it would make GRUB scan nvme first,
and then ata.

If "both" is set, or anything other than ahci/ata/nvme,
grub_scan_disk is now changed to "nvme ahci ata".

Actual grub_scan_disk entries in target.cfg files will now
be modified, to match each machine.

Signed-off-by: Leah Rowe <leah@libreboot.org>
2024-05-27 20:36:58 +01:00
..
background merge config/ and resources/ 2023-09-04 02:47:25 +01:00
config grub.cfg: use grub_scan_disk to set boot order 2024-05-27 20:36:58 +01:00
keymap Add pt qwerty keymap to lbmk 2024-05-18 22:05:27 +00:00
patches GRUB: remove XHCI patches for now (will re-add) 2024-05-27 17:11:33 +01:00
bootorder build/roms: simplified seagrub handling 2024-04-28 20:21:35 +01:00
modules.list GRUB: remove XHCI patches for now (will re-add) 2024-05-27 17:11:33 +01:00
target.cfg grub/target.cfg: move --disable-werror 2024-01-21 05:43:11 +00:00