commit:     8eb907696e68e3935cf76f2e0f284548865b1d3f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 15 11:35:43 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Sep 15 11:36:05 2025 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=8eb90769

Fix UTF-8 spelling

Bug: https://bugs.gentoo.org/962878
Signed-off-by: Sam James <sam <AT> gentoo.org>

 catalyst/base/stagebase.py | 2 +-
 targets/stage1/chroot.sh   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 74a73fca..401676af 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1267,7 +1267,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
                 '\n'
                 '# This sets the language of build output to English.\n'
                 '# Please keep this setting intact when reporting bugs.\n'
-                'LC_MESSAGES=C.utf8\n')
+                'LC_MESSAGES=C.UTF-8\n')
 
     def write_binrepos_conf(self):
         # only if catalyst.conf defines the host and the spec defines the 
path...

diff --git a/targets/stage1/chroot.sh b/targets/stage1/chroot.sh
index 6eb1e4b4..1eb884b5 100755
--- a/targets/stage1/chroot.sh
+++ b/targets/stage1/chroot.sh
@@ -65,7 +65,7 @@ sed -i "/USE=\"${USE} build\"/d" ${clst_make_conf}
 
 echo "$locales" > /etc/locale.gen
 for etc in /etc "$ROOT"/etc; do
-       echo "LANG=C.UTF8" > ${etc}/env.d/02locale
+       echo "LANG=C.UTF-8" > ${etc}/env.d/02locale
 done
 update_env_settings
 

Reply via email to