From 1418bfbf42103fd687bd8a3fc9c8806b8ff56bf4 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Tue, 17 Aug 2010 18:38:47 +0200 Subject: Use default locale instead of copying from host Use en_US.UTF-8 and de_DE.UTF-8 by default (the latter is needed for some packages like gcc) --- mkarchroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkarchroot') diff --git a/mkarchroot b/mkarchroot index fa0dca5..b7249a4 100755 --- a/mkarchroot +++ b/mkarchroot @@ -172,7 +172,7 @@ if [ "$RUN" != "" ]; then fi if [ -e "${working_dir}/etc/locale.gen" ]; then - cp /etc/locale.gen "${working_dir}/etc/locale.gen" + echo -e 'en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8' > "${working_dir}/etc/locale.gen" chroot "${working_dir}" locale-gen fi -- cgit v1.2.3-70-g09d2