From d9aa4a383b50174dac3d7044e8628d47464d8acd Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Sun, 22 Oct 2023 23:09:24 +0700 Subject: [PATCH] set locales properly for stuff --- katsu/modules/live/live.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/katsu/modules/live/live.sh b/katsu/modules/live/live.sh index 463efd69..54208684 100644 --- a/katsu/modules/live/live.sh +++ b/katsu/modules/live/live.sh @@ -34,7 +34,11 @@ echo 'File created by kickstart. See systemd-update-done.service(8).' \ | tee /etc/.updated >/var/.updated # Set locales in chroot -localectl set-locale LANG=en_US.UTF-8 +cat > /etc/locale.conf << EOF +LANG=en_US.UTF-8 +LANGUAGE=en_US.UTF-8 +LC_ALL=en_US.UTF-8 +EOF # Disable network service here, as doing it in the services line