mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
grubcfg: Get the distribution name from the branding.
Remove the redundant "distributor" setting from grubcfg.conf (and the entire grubcfg.conf file that has no settings left for now).
This commit is contained in:
parent
3cf5baadc1
commit
8f5b0585cb
2 changed files with 2 additions and 4 deletions
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
# Replace 'LinuxDistribution' with your distribution name - for example with 'Manjaro'
|
||||
distributor: LinuxDistribution
|
|
@ -66,5 +66,6 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
|||
def run():
|
||||
partitions = libcalamares.globalstorage.value("partitions")
|
||||
root_mount_point = libcalamares.globalstorage.value("rootMountPoint")
|
||||
distributor = libcalamares.job.configuration["distributor"]
|
||||
branding = libcalamares.globalstorage.value("branding")
|
||||
distributor = branding["productName"]
|
||||
return modify_grub_default(partitions, root_mount_point, distributor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue