[PATCH] add cpumodelname mod for in grub.cfg to get cpu_mode_name, load different versions of the kernel through the path composed of names. like this: linux /cpu_mode_name/vmlinuz-5.7.7-amd64-desktop

2021-12-12 Thread ut000745
Signed-off-by: ut000745 --- grub-core/Makefile.core.def| 5 +++ grub-core/commands/i386/cpumodelname.c | 60 ++ 2 files changed, 65 insertions(+) create mode 100644 grub-core/commands/i386/cpumodelname.c diff --git a/grub-core/Makefile.core.def b/grub-core/M

[PATCH v2] Use full btrfs bootloader area

2021-12-12 Thread Michael Chang via Grub-devel
Up to now GRUB can only embed to the first 64 KiB before primary superblock of btrfs, effectively limiting the size that could consequently pose restrictions to feature enablement like advanced zstd compression. This patch attempts to utilize full unused area reserved by btrfs for bootloader outli