configs/: use the C.UTF-8 locale
The glibc 2.35-6 package ships with the C.UTF-8 locale included. This means there is now a UTF-8 locale available by default and en_US.UTF-8, which requires editing /etc/locale.gen and running locale-gen, is not needed anymore. Implements #175.
This commit is contained in:
parent
89292ce818
commit
ba11c40e49
@ -8,12 +8,19 @@ Changelog
|
|||||||
Added
|
Added
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Configure the locale for the baseline profile to ``C.UTF-8`` so that a UTF-8 locale is used.
|
||||||
|
|
||||||
Changed
|
Changed
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Change the releng profile's locale from ``en_US.UTF-8`` to ``C.UTF-8``.
|
||||||
|
|
||||||
Removed
|
Removed
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Remove the custom pacman hook that ran ``locale-gen`` on glibc install from the releng profile. The used locale now
|
||||||
|
ships with the glibc package itself.
|
||||||
|
|
||||||
[64] - 2022-05-30
|
[64] - 2022-05-30
|
||||||
=================
|
=================
|
||||||
|
|
||||||
|
1
configs/baseline/airootfs/etc/locale.conf
Normal file
1
configs/baseline/airootfs/etc/locale.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
LANG=C.UTF-8
|
@ -1 +1 @@
|
|||||||
LANG=en_US.UTF-8
|
LANG=C.UTF-8
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
# remove from airootfs!
|
|
||||||
[Trigger]
|
|
||||||
Operation = Install
|
|
||||||
Type = Package
|
|
||||||
Target = glibc
|
|
||||||
|
|
||||||
[Action]
|
|
||||||
Description = Uncommenting en_US.UTF-8 locale and running locale-gen...
|
|
||||||
When = PostTransaction
|
|
||||||
Depends = glibc
|
|
||||||
Depends = sed
|
|
||||||
Depends = sh
|
|
||||||
Exec = /bin/sh -c "sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen && locale-gen"
|
|
Loading…
Reference in New Issue
Block a user