mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
Update main.py
This commit is contained in:
parent
7638f80373
commit
1f9e7b5ae9
1 changed files with 1 additions and 2 deletions
|
@ -53,11 +53,10 @@ def create_conf(uuid, conf_path):
|
|||
kernel = libcalamares.job.configuration["kernel"]
|
||||
img = libcalamares.job.configuration["img"]
|
||||
partitions = libcalamares.globalstorage.value("partitions")
|
||||
swap = ""
|
||||
for partition in partitions:
|
||||
if partition["fs"] == "linuxswap":
|
||||
swap = partition["uuid"]
|
||||
else:
|
||||
swap = ""
|
||||
lines = [
|
||||
'## This is just an exmaple config file.\n',
|
||||
'## Please edit the paths and kernel parameters according to your system.\n',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue