From 3de450e1c8d7e30361946d813cebfb533a76e3fc Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 10 Dec 2023 22:26:43 +0200 Subject: [PATCH] archlinux: update distro_setup --- distro-build/archlinux.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/distro-build/archlinux.sh b/distro-build/archlinux.sh index 4e37c0786..b43b394c5 100644 --- a/distro-build/archlinux.sh +++ b/distro-build/archlinux.sh @@ -101,6 +101,10 @@ write_plugin() { ${TAB}for f in su su-l system-local-login system-remote-login; do ${TAB}${TAB}echo "session required pam_env.so readenv=1" >> ./etc/pam.d/"\${f}" ${TAB}done + + ${TAB}# Configure en_US.UTF-8 locale. + ${TAB}sed -i -E 's/#[[:space:]]?(en_US.UTF-8[[:space:]]+UTF-8)/\1/g' ./etc/locale.gen + ${TAB}run_proot_cmd locale-gen } EOF }