[PATCH] context: add Arch Linux to debian/ubuntu/gentoo locale group

4 views
Skip to first unread message

Khem Raj

unread,
Apr 15, 2026, 1:36:05 PM (4 days ago) Apr 15
to kas-...@googlegroups.com, Khem Raj
Arch Linux was not included in the supported distros list, causing
kas to skip default locale configuration with a warning.

WARNING - kas: No supported distros found in ['arch']. No default locales set.

Arch uses the same UTF-8 locale format as debian/ubuntu/gentoo,
so add it to that group.

Signed-off-by: Khem Raj <khem...@oss.qualcomm.com>
---
kas/context.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kas/context.py b/kas/context.py
index f49302c..5edb2d9 100644
--- a/kas/context.py
+++ b/kas/context.py
@@ -114,7 +114,7 @@ class Context:
'LANG': 'en_US.utf8',
'LANGUAGE': 'en_US'}
break
- elif distro_base in ['debian', 'ubuntu', 'gentoo']:
+ elif distro_base in ['debian', 'ubuntu', 'gentoo', 'arch']:
self.environ = {'LC_ALL': 'en_US.UTF-8',
'LANG': 'en_US.UTF-8',
'LANGUAGE': 'en_US:en'}

Jan Kiszka

unread,
Apr 16, 2026, 3:15:07 AM (3 days ago) Apr 16
to Khem Raj, kas-...@googlegroups.com, Khem Raj
Thanks, applied.

Jan

--
Siemens AG, Foundational Technologies
Linux Expert Center
Reply all
Reply to author
Forward
0 new messages