Initialize /etc/default/locale with LANG=C.UTF-8

That way we always have a valid UTF-8 locale even when we don't have
the "locales" (or "locales-all") package installed.
This commit is contained in:
Raphaël Hertzog 2017-08-29 12:26:28 +02:00
parent ff71712590
commit 2fe6afe460
2 changed files with 4 additions and 1 deletions

3
debian/changelog vendored
View File

@ -2,6 +2,9 @@ live-build (1:20170808) UNRELEASED; urgency=medium
* Add .disk/mkisofs file recording the xorriso command line. Thanks * Add .disk/mkisofs file recording the xorriso command line. Thanks
to Thomas Schmitt <scdbackup@gmx.net> for the suggestion. to Thomas Schmitt <scdbackup@gmx.net> for the suggestion.
* Initialize /etc/default/locale with LANG=C.UTF-8 so that we always
have a valid UTF-8 locale even when we don't have the "locales"
package installed.
-- Raphaël Hertzog <hertzog@debian.org> Thu, 10 Aug 2017 14:53:06 +0200 -- Raphaël Hertzog <hertzog@debian.org> Thu, 10 Aug 2017 14:53:06 +0200

View File

@ -4,4 +4,4 @@ set -e
# Create /etc/environment and /etc/default/locale # Create /etc/environment and /etc/default/locale
touch /etc/environment touch /etc/environment
touch /etc/default/locale echo "LANG=C.UTF-8" >/etc/default/locale