Actual behaviour on 18.04:
The value of the variable GRUB_DISTRIBUTOR in /etc/default/grub is set to `lsb_release -i -s 2> /dev/null || echo Debian`.
Every time an update-grub is executed, the value of the variable is taken from the command lsb_release (which is Ubuntu, but theoretically could change).
Actual behaviour on 18.10 and later:
The value of the variable GRUB_DISTRIBUTOR in /etc/default/grub is set during the installation by Calamares. Calamares gets the value from the bootloaderEntryName, which is set for example to Lubuntu 18.10.
Every time an update-grub is executed, the hardcoded value is used.
Source => https://phab.lubuntu.me/source/calamares-settings-ubuntu/browse/master/lubuntu/branding/lubuntu/branding.desc
Problem:
The value of GRUB_DISTRIBUTOR is hardcoded with a version. After a release-upgrade (e.g 18.10 => 19.04), the menu entry in Grub will still use the hardcoded value "Lubuntu 18.10", although the OS in use is Lubuntu 19.04.
Possible problem:
According to T62 there might be a "platform expectation" that the menu entry should be called "Ubuntu" and not "Lubuntu".
Possible solutions:
There are several possible solutions.
- Set the value of GRUB_DISTRIBUTOR to `lsb_release -i -s 2> /dev/null || echo Debian`.
- Hardcode the value to Ubuntu
- Hardcode the value to Lubuntu
- Find another, sophisticated solution
Affects:
The solution might affect T30
Todo:
- Discuss and find the best solution
- Implement the defined solution