Do not update initramfs, if cryptsetup-initramfs is installed
This commit is contained in:
parent
c4902400c7
commit
43cd6182e7
@ -193,8 +193,9 @@ $WDVN_ENCRYPT_PASS_ADD" | cryptsetup luksAddKey "$PART_DEV"
|
|||||||
wdvn-chroot "/media/install" apt -y autoremove
|
wdvn-chroot "/media/install" apt -y autoremove
|
||||||
if [ "$WDVN_ENCRYPT" == "y" ]; then
|
if [ "$WDVN_ENCRYPT" == "y" ]; then
|
||||||
wdvn-chroot "/media/install" apt -y install cryptsetup-initramfs
|
wdvn-chroot "/media/install" apt -y install cryptsetup-initramfs
|
||||||
fi
|
else
|
||||||
wdvn-chroot "/media/install" update-initramfs -u
|
wdvn-chroot "/media/install" update-initramfs -u
|
||||||
|
fi
|
||||||
rm "/media/install/bin/login"
|
rm "/media/install/bin/login"
|
||||||
mv "/media/install/bin/login.oobe" "/media/install/bin/login"
|
mv "/media/install/bin/login.oobe" "/media/install/bin/login"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user