archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
5.82k stars 509 forks source link

Update mkinitcpio.conf hooks for upstream consistency #2515

Closed AlexpFr closed 1 month ago

AlexpFr commented 1 month ago

This PR addresses upstream commits:

  1. mkinitcpio.conf: add kms to the default HOOKS array
  2. mkinitcpio.conf: adjust the placement of the modconf hook for consistency

Additionally, it replaces the missing consolefont hook if the keyboard hook is used instead of the sd-vconsole hook. For more details, see the Arch Wiki: dm-crypt/System configuration - 1.1 mkinitcpio

PR Description:

This PR adjusts the hooks in mkinitcpio.conf to follow the changes in the upstream mkinitcpio repository. It also add the consolefont hook if udev is used instead of systemd.

base systemd autodetect microcode keyboard sd-vconsole modconf block filesystems fsck

Tests and Checks

svartkanin commented 1 month ago

Thanks for the updates