mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
[bootloader] use bootloaderEntryName
This commit is contained in:
parent
cf1e5a8b51
commit
035ad6cbf9
2 changed files with 6 additions and 6 deletions
|
@ -45,11 +45,11 @@ def get_uuid():
|
|||
|
||||
|
||||
def get_bootloader_entry_name():
|
||||
if "productName" in libcalamares.job.configuration:
|
||||
return libcalamares.job.configuration["productName"]
|
||||
if "bootloaderEntryName" in libcalamares.job.configuration:
|
||||
return libcalamares.job.configuration["bootloaderEntryName"]
|
||||
else:
|
||||
branding = libcalamares.globalstorage.value("branding")
|
||||
return branding["productName"]
|
||||
return branding["bootloaderEntryName"]
|
||||
|
||||
|
||||
def get_kernel_line(kernel_type):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue