The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1862

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
This template would always add "en-US.UTF-8" to the end of the container's locale.gen, which in turn confused locale-gen.
From efebd0bdab8a0a875dcf8b05a2e37f02d844f3ff Mon Sep 17 00:00:00 2001
From: Fridtjof Mund <[email protected]>
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"
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to