Discussion:
[Grml] LANG variable, locales
adrelanos
2013-10-15 04:47:46 UTC
Permalink
Hi!

Would you agree, that a system created by grml-debootstrap should be
as close to stock Debian as possible?

- In a default Wheezy installation, the LANG variable is set to
en_US.UTF-8.
- In system created by grml-debootstrap. the LANG variable is empty.

Also the output of `locale` differs. [1]

Am I missing an option in grml-debootstrap?

Should this be added to grml-debootstrap?

What is the recommended way (from a Debian derivative perspective)
changing the default of `locale`?

Cheers,
adrelanos

[1]
Default Wheezy:
LANG="en_US.UTF-8"
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

grml-debootstrap:
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Michael Prokop
2013-10-15 10:14:17 UTC
Permalink
Post by adrelanos
Would you agree, that a system created by grml-debootstrap should be
as close to stock Debian as possible?
If it makes sense, for sure :)
Post by adrelanos
- In a default Wheezy installation, the LANG variable is set to
en_US.UTF-8.
- In system created by grml-debootstrap. the LANG variable is empty.
Also the output of `locale` differs. [1]
Am I missing an option in grml-debootstrap?
Should this be added to grml-debootstrap?
What is the recommended way (from a Debian derivative perspective)
changing the default of `locale`?
I've just implemented that:

https://github.com/grml/grml-debootstrap/commit/ddf2a40ee91694dc0f8006cfbc9844acd4f36a68

Available in the automatically generated Debian packages at:

http://jenkins.grml.org/job/grml-debootstrap-binaries/architecture=amd64/

If you need to support that change in an older grml-debootstrap
version just execute 'update-locale LANG=en_US.UTF-8' in the
chroot/installed system.

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20131015/cf1f471d/attachment.sig>
Loading...