mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
Use swap mountpoint
Having swap set at "none" makes hibernating not possible. AFAIK, no filesystem/partition sets mountpoint as "none" nor has any other besides swap an empty mountpoint at the stage where the fstab module is called. Tests so far show this change creates a working fstab when using a swap partition.
This commit is contained in:
parent
fe44633e0c
commit
2efd4aff5c
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class FstabGenerator(object):
|
|||
|
||||
return dict(
|
||||
device="UUID=" + partition["uuid"],
|
||||
mount_point=mount_point or "none",
|
||||
mount_point=mount_point or "swap",
|
||||
fs=fs,
|
||||
options=options,
|
||||
check=check)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue