Comment 2 for bug 221231

Revision history for this message
Neal McBurnett (nealmcb) wrote : Re: [Bug 221231] Re: ubuntu-vm-builder should set up a locale, timezone, etc

On Fri, Apr 25, 2008 at 12:33:08PM -0000, Nick Barcet wrote:
> I've pushed a branch to fix this and put a version in my ppa (https://launchpad.net/~nijaba/+archive).

Thanks. Looks cool!

 https://code.edge.launchpad.net/~nijaba/ubuntu-jeos/copy_settings

Except that I'm guessing that the line to set LANG=C at the top needs
to go now, or at least the original LANG needs to be saved for the

 chroot root locale-gen $LANG

But having different things built with different locales may be a
problem. Also note the todo comment about locales above that was
fixed long ago, though this would be a different fix.

I hacked a bit with moving the do_copy_settings to above
do_network_setup which removes most of the PERL locale complaints
without setting LANG=C, but not all of them. Perhaps better to see if
you had thoughts on this before I blindly hack any more, since I
really haven't looked at what is going on behind the scenes enough....