mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 17:05:36 -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"]
|
kernel = libcalamares.job.configuration["kernel"]
|
||||||
img = libcalamares.job.configuration["img"]
|
img = libcalamares.job.configuration["img"]
|
||||||
partitions = libcalamares.globalstorage.value("partitions")
|
partitions = libcalamares.globalstorage.value("partitions")
|
||||||
|
swap = ""
|
||||||
for partition in partitions:
|
for partition in partitions:
|
||||||
if partition["fs"] == "linuxswap":
|
if partition["fs"] == "linuxswap":
|
||||||
swap = partition["uuid"]
|
swap = partition["uuid"]
|
||||||
else:
|
|
||||||
swap = ""
|
|
||||||
lines = [
|
lines = [
|
||||||
'## This is just an exmaple config file.\n',
|
'## This is just an exmaple config file.\n',
|
||||||
'## Please edit the paths and kernel parameters according to your system.\n',
|
'## Please edit the paths and kernel parameters according to your system.\n',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue