[lxc-devel] [lxc/master] Change locale "en-US.UTF-8" to "en_US.UTF-8"

fridtjof on Github lxc-bot at linuxcontainers.org
Tue Oct 17 10:38:25 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 422 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20171017/88689f34/attachment.bin>
-------------- next part --------------
From efebd0bdab8a0a875dcf8b05a2e37f02d844f3ff Mon Sep 17 00:00:00 2001
From: Fridtjof Mund <fridtjof at users.noreply.github.com>
Date: Tue, 17 Oct 2017 12:38:09 +0200
Subject: [PATCH] Change locale "en-US.UTF-8" to "en_US.UTF-8"

This template would always add "en-US.UTF-8" to the end of the container's locale.gen, which in turn confused locale-gen.
---
 templates/lxc-archlinux.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-archlinux.in b/templates/lxc-archlinux.in
index d0ca12846..f8d4ba01c 100644
--- a/templates/lxc-archlinux.in
+++ b/templates/lxc-archlinux.in
@@ -41,7 +41,7 @@ export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
 # defaults
 arch=$(uname -m)
 default_path="@LXCPATH@"
-default_locale="en-US.UTF-8"
+default_locale="en_US.UTF-8"
 pacman_config="/etc/pacman.conf"
 common_config="@LXCTEMPLATECONFIG@/common.conf"
 shared_config="@LXCTEMPLATECONFIG@/archlinux.common.conf"


More information about the lxc-devel mailing list