Updated mkinitcpio default hook replacement to reflect upstream change.
CI / Linting (push) Successful in 3s
CI / Linting (push) Successful in 3s
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
configure_initramfs() {
|
configure_initramfs() {
|
||||||
print "Configuring initramfs..."
|
print "Configuring initramfs..."
|
||||||
|
|
||||||
local default_line="HOOKS=(base systemd autodetect microcode modconf kms keyboard keymap sd-vconsole block filesystems fsck)"
|
local default_line="HOOKS=(base systemd autodetect microcode modconf kms keyboard sd-vconsole block filesystems fsck)"
|
||||||
local new_line="HOOKS=(systemd autodetect microcode modconf kms keyboard sd-vconsole block sd-encrypt filesystems fsck)"
|
local new_line="HOOKS=(systemd autodetect microcode modconf kms keyboard sd-vconsole block sd-encrypt filesystems fsck)"
|
||||||
|
|
||||||
run_cmd_in_chroot sed -i "s|^${default_line}|${new_line}|" /etc/mkinitcpio.conf
|
run_cmd_in_chroot sed -i "s|^${default_line}|${new_line}|" /etc/mkinitcpio.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user