corrected initramfs hooks

main
The_miro 2025-12-12 13:35:35 +01:00
parent e230b6332a
commit c5ed32d5e6
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers
if [[ "$FIDO_ROOT" == "YES" ]]; then
# Initramfs hooks for LUKS + FIDO2
sed -i 's/^HOOKS=.*/HOOKS=(base udev autodetect modconf block encrypt filesystems keyboard fsck)/' /etc/mkinitcpio.conf
sed -i 's/^HOOKS=.*/HOOKS=(base systemd autodetect modconf block sd-encrypt filesystems keyboard fsck)/' /etc/mkinitcpio.conf
mkinitcpio -P
# GRUB config for encrypted root