mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
One more have_dracut check (thanks to @crazy)
This commit is contained in:
parent
360a114ed4
commit
ec265c073a
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
|||
if swap_uuid:
|
||||
kernel_params.append("resume=UUID={!s}".format(swap_uuid))
|
||||
|
||||
if dracut_bin == 0 and swap_outer_uuid:
|
||||
if have_dracut and swap_outer_uuid:
|
||||
kernel_params.append("rd.luks.uuid={!s}".format(swap_outer_uuid))
|
||||
|
||||
distributor_line = "GRUB_DISTRIBUTOR='{!s}'".format(distributor_replace)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue