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)
This commit is contained in:
parent
f1c05d870b
commit
1418bfbf42
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue