Without this, the build will fail if sphinx is installed:
[SPHINX] man
Extension error:
Could not import extension sphinx_rtd_theme (exception: No module named 'sphinx_rtd_theme')
This is a preparation for GRUB 2.12. With GRUB 2.12 EFI stub is the
recommended way to boot x86 (32-bit or 64-bit) kernels with UEFI, and
the old way is only kept as fallback.
In Linux 6.6, we can select DRM_FBDEV_EMULATION without FB, so FB is no
longer needed. And now FRAMEBUFFER_CONSOLE is not enforced (even if FB
is selected), so we need to select it manually.
Intel and AMD microcode support is now always enabled on x86[_64] and
CONFIG_MICROCODE is now hidden, thus remove amd-ucode and intel-ucode
kernel configuration info.
The other changes seem trivial.
neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...
1. Move kernel section before emergency boot disk section. The reason
is in the emergency boot disk section we already need to mount the
ESP, so we need VFAT and the related NLS configuration.
2. Add "codepage=437,iocharset=iso8859-1" mounting the ESP. I'm not
sure if grub-install will do things properly if a different NLS
setting is used. With some (broken IMO) kernel configuration a mount
command without explicit codepage and iocharset setting won't work at
all. And I don't like the idea to force the users to set
FAT_DEFAULT_CODEPAGE=437 or FAT_DEFAULT_IOCHARSET="iso8859-1" in
kernel configuration.
3. Use "mount --mkdir" instead of a separate "mkdir -pv" command
(again).
4. Wrap long commands at 80 characters.
5. The ESP entry in fstab is optional. Personally I prefer it in fstab
because I hate the Windoge behavior (hiding the ESP from the user).
6. Update kernel and LFS version in example grub.cfg file (again).