branding: Add a dedicated bootloaderEntryName setting.

Use it in the bootloader and grubcfg modules instead of
shortProductName.
This commit is contained in:
Kevin Kofler 2014-11-19 16:50:15 +01:00
parent 91b711e0f7
commit 462819060b
5 changed files with 18 additions and 15 deletions

View file

@ -67,5 +67,5 @@ def run():
partitions = libcalamares.globalstorage.value("partitions")
root_mount_point = libcalamares.globalstorage.value("rootMountPoint")
branding = libcalamares.globalstorage.value("branding")
distributor = branding["shortProductName"]
distributor = branding["bootloaderEntryName"]
return modify_grub_default(partitions, root_mount_point, distributor)