corrected initramfs hooks
parent
e230b6332a
commit
c5ed32d5e6
|
|
@ -128,7 +128,7 @@ echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers
|
||||||
if [[ "$FIDO_ROOT" == "YES" ]]; then
|
if [[ "$FIDO_ROOT" == "YES" ]]; then
|
||||||
|
|
||||||
# Initramfs hooks for LUKS + FIDO2
|
# 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
|
mkinitcpio -P
|
||||||
|
|
||||||
# GRUB config for encrypted root
|
# GRUB config for encrypted root
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue