should not blindly read from $LANG for the locale-gen command

Bug #237767 reported by Oliver Grawert
2
Affects Status Importance Assigned to Milestone
ubuntu-vm-builder (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: ubuntu-vm-builder

instead of using $LANG for locale-gen the actual value from /etc/default/locale should be used to generate the locale ... in case you want to force apt output and other messages to POSIX through prefixing the vm builder command with LANG=C (i.e. for getting english build logs) it will fail to generate the proper locale.

instead of the
LANG=$HOSTLANG
in do_copy_settings(), it could probably just source /etc/default/locale (which sets LANG) or pull LANG out of the file with a sed command.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.