mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
Allow installing grub on an encrypted fs.
This commit is contained in:
parent
beb16a77f0
commit
db9454d199
1 changed files with 3 additions and 0 deletions
|
@ -135,6 +135,9 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
|||
if not have_distributor_line:
|
||||
lines.append(distributor_line)
|
||||
|
||||
if cryptdevice_params:
|
||||
lines.append("GRUB_ENABLE_CRYPTODISK=y")
|
||||
|
||||
with open(default_grub, 'w') as grub_file:
|
||||
grub_file.write("\n".join(lines) + "\n")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue