From 7ead40dd602d871d6601480db5a2a0e84c20acdc Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Mon, 5 Aug 2024 14:15:25 -0400 Subject: [PATCH] Actually it was dracut.conf.d --- gentoo-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gentoo-install.sh b/gentoo-install.sh index acfd201..132bb35 100755 --- a/gentoo-install.sh +++ b/gentoo-install.sh @@ -286,9 +286,9 @@ function stage_step() { else echo "luksvol UUID=$luksUUID none luks,initramfs" >> /mnt/gentoo/etc/crypttab if [[ ! -d "/mnt/gentoo/etc/dracut.conf.d" ]]; then - mkdir /mnt/gentoo/etc/dracut.d &>/dev/null - echo "add_dracutmodules+=\" crypt dm rootfs-block \"" > /mnt/gentoo/etc/dracut.d/luks.conf - echo "kernel_cmdline+=\" root=UUID=$rootUUID rd.luks.uuid=$luksUUID " >> /mnt/gentoo/etc/dracut.d/luks.conf + mkdir /mnt/gentoo/etc/dracut.conf.d &>/dev/null + echo "add_dracutmodules+=\" crypt dm rootfs-block \"" > /mnt/gentoo/etc/dracut.conf.d/luks.conf + echo "kernel_cmdline+=\" root=UUID=$rootUUID rd.luks.uuid=$luksUUID " >> /mnt/gentoo/etc/dracut.conf.d/luks.conf fi fi fi