Actually it was dracut.conf.d
This commit is contained in:
parent
7707f83a38
commit
7ead40dd60
1 changed files with 3 additions and 3 deletions
|
@ -286,9 +286,9 @@ function stage_step() {
|
||||||
else
|
else
|
||||||
echo "luksvol UUID=$luksUUID none luks,initramfs" >> /mnt/gentoo/etc/crypttab
|
echo "luksvol UUID=$luksUUID none luks,initramfs" >> /mnt/gentoo/etc/crypttab
|
||||||
if [[ ! -d "/mnt/gentoo/etc/dracut.conf.d" ]]; then
|
if [[ ! -d "/mnt/gentoo/etc/dracut.conf.d" ]]; then
|
||||||
mkdir /mnt/gentoo/etc/dracut.d &>/dev/null
|
mkdir /mnt/gentoo/etc/dracut.conf.d &>/dev/null
|
||||||
echo "add_dracutmodules+=\" crypt dm rootfs-block \"" > /mnt/gentoo/etc/dracut.d/luks.conf
|
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.d/luks.conf
|
echo "kernel_cmdline+=\" root=UUID=$rootUUID rd.luks.uuid=$luksUUID " >> /mnt/gentoo/etc/dracut.conf.d/luks.conf
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue