cbmk/config/grub
Leah Rowe 935447b035 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 23:33:09 +01:00
..
background Canoeboot 20231026 release 2023-10-27 08:21:04 +01:00
config grub.cfg: use grub_scan_disk to set boot order 2024-05-27 23:33:09 +01:00
keymap Add pt qwerty keymap to lbmk 2024-05-21 18:16:44 +01:00
patches GRUB: remove XHCI patches for now (will re-add) 2024-05-27 23:32:42 +01:00
bootorder build/roms: simplified seagrub handling 2024-05-03 01:22:15 +01:00
modules.list GRUB: remove XHCI patches for now (will re-add) 2024-05-27 23:32:42 +01:00
target.cfg grub/target.cfg: move --disable-werror 2024-01-21 05:40:56 +00:00