Add initramfs to crypttab
This commit is contained in:
parent
5cd4866b69
commit
cbb324cbdc
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ function stage_step() {
|
|||
${cmd} mkdir /mnt/gentoo/etc/dracut.d
|
||||
|
||||
if [[ "$DEBUG" ]]; then
|
||||
echo "echo \"luksvol UUID=\"$luksUUID\" none luks\" >> /mnt/gentoo/etc/crypttab"
|
||||
echo "echo \"luksvol UUID=\"$luksUUID\" none luks,initramfs\" >> /mnt/gentoo/etc/crypttab"
|
||||
if [[ ! -d "/mnt/gentoo/etc/dracut.conf.d" ]]; then
|
||||
echo "mkdir /mnt/gentoo/etc/dracut.conf.d &>/dev/null"
|
||||
echo "echo \"add_dracutmodules+=\\\" crypt dm rootfs-block \\\" > /mnt/gentoo/etc/dracut.conf.d/luks.conf"
|
||||
|
|
Loading…
Reference in a new issue