mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
grubcfg: set swap_uuid variable
This commit is contained in:
parent
5b336fc3c5
commit
0c4e8863cf
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
||||||
if os.path.exists(plymouth_bin):
|
if os.path.exists(plymouth_bin):
|
||||||
use_splash = 'splash'
|
use_splash = 'splash'
|
||||||
|
|
||||||
|
swap_uuid = ""
|
||||||
for partition in partitions:
|
for partition in partitions:
|
||||||
if partition["fs"] == "linuxswap":
|
if partition["fs"] == "linuxswap":
|
||||||
swap_uuid = partition["uuid"]
|
swap_uuid = partition["uuid"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue