Univention Bugzilla – Bug 41046
grub/default and localization
Last modified: 2016-05-04 18:19:26 CEST
It is possible to set the grub default entry, see Bug #26763. If the variable is set via LDAP policy, the update-grub is executed without a localization. On the other hand, if the UCR variable is set manually, a localization is set. My workaround: if ! grep -q LC_ALL /usr/sbin/update-grub; then sed -i "s|^grub-mkconfig -o|LC_ALL=C grub-mkconfig -o|" /usr/sbin/update-grub; /usr/sbin/update-grub; fi Ticket #2015121821000574
# LANG=de_DE.UTF-8 update-grub & grep ^menuentry /boot/grub/grub.cfg > menuentry 'Univention Corporate Server, mit Linux 3.16.0-ucs191-686-pae' --class univention --class gnu-linux --class gnu --class os { # LANG=C update-grub & grep ^menuentry /boot/grub/grub.cfg > menuentry 'Univention Corporate Server, with Linux 3.16.0-ucs191-686-pae' --class univention --class gnu-linux --class gnu --class os { r68708 | Bug #40586,Bug #25157,Bug #40557: univention-grub Package: univention-grub Version: 9.0.1-5.131.201604151656 Branch: ucs_4.1-0 Scope: errata4.1-1 r68709 | Bug #40586,Bug #25157,Bug #40557: univention-grub YAML univention-grub.yaml
Code review: OK Advisory: OK Tests: OK
<http://errata.software-univention.de/ucs/4.1/171.html>