commit:     aba024d865338878fde1559d73e1e2c4c2f1c401
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 13 13:07:11 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Oct 13 13:07:11 2024 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=aba024d8

Set locale properly

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 targets/support/diskimage-installation.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/support/diskimage-installation.sh 
b/targets/support/diskimage-installation.sh
index d357a1d7..2f5bec7c 100755
--- a/targets/support/diskimage-installation.sh
+++ b/targets/support/diskimage-installation.sh
@@ -26,7 +26,7 @@ echo "Running systemctl preset-all"
 systemctl preset-all || die "Running systemctl preset-all failed"
 
 echo "Setting locale"
-echo "en_US.UTF-8" > /etc/locale.conf || die "Failed to set locale"
+echo 'LANG="en_US.UTF-8"' > /etc/locale.conf || die "Failed to set locale"
 
 echo "Setting keymap"
 echo "KEYMAP=us" > /etc/vconsole.conf || die "Failed to set keymap"

Reply via email to