mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
[bootloader] use bootloader.conf values for overrides
This commit is contained in:
parent
035ad6cbf9
commit
cb271d13ed
1 changed files with 5 additions and 5 deletions
|
@ -53,14 +53,14 @@ def get_bootloader_entry_name():
|
|||
|
||||
|
||||
def get_kernel_line(kernel_type):
|
||||
if "bootloaderEntryName" in libcalamares.job.configuration:
|
||||
if kernel_type == "fallback":
|
||||
if kernel_type == "fallback":
|
||||
if "fallbackKernelLine" in libcalamares.job.configuration:
|
||||
return libcalamares.job.configuration["fallbackKernelLine"]
|
||||
else:
|
||||
return libcalamares.job.configuration["kernelLine"]
|
||||
else:
|
||||
if kernel_type == "fallback":
|
||||
return " (fallback)"
|
||||
else:
|
||||
if "kernelLine" in libcalamares.job.configuration:
|
||||
return libcalamares.job.configuration["kernelLine"]
|
||||
else:
|
||||
return ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue