Timestamp:
08/17/2023 02:36:02 AM (14 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, 12.2, gimp3, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128
Children:
0f33c8c
Parents:
e282f70
git-author:
Xi Ruoyao <xry111@…> (08/17/2023 02:26:51 AM)
git-committer:
Xi Ruoyao <xry111@…> (08/17/2023 02:36:02 AM)
Message:

efi/grub-setup: Another update attempt

  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).
(No files)

Note: See TracChangeset for help on using the changeset viewer.