This commit is contained in:
Your Name 2024-08-24 05:41:29 +00:00
parent 1132f70482
commit 8b55f72d98

View File

@ -953,7 +953,7 @@ bootloader() {
if [[ $FULL_DISK_ENCRYPTION = *True* ]]; then if [[ $FULL_DISK_ENCRYPTION = *True* ]]; then
KERNEL_COMMAND_LINE="$KERNEL_COMMAND_LINE: rd.luks.uuid=$(/sbin/blkid -s UUID -o value ${BTRFS})" KERNEL_COMMAND_LINE="$KERNEL_COMMAND_LINE: rd.luks.uuid=$(/sbin/blkid -s UUID -o value ${BTRFS})"
echo "add_dracutmodules+=\" crypt dm rootfs-block \"" >/etc/dracut.conf echo "add_dracutmodules+=\" crypt dm systemd-cryptsetup rootfs-block \"" >/etc/dracut.conf
echo "kernel_cmdline+=\" $KERNEL_COMMAND_LINE \" " >>/etc/dracut.conf echo "kernel_cmdline+=\" $KERNEL_COMMAND_LINE \" " >>/etc/dracut.conf
if [ "$AUTO_DECRYPT" == "True" ]; then if [ "$AUTO_DECRYPT" == "True" ]; then