diff options
| author | nl6720 <nl6720@gmail.com> | 2022-06-08 11:49:00 +0300 |
|---|---|---|
| committer | nl6720 <nl6720@gmail.com> | 2022-06-09 08:31:41 +0300 |
| commit | de151089cec6881a8c6c9a27ba095b1fb1637845 (patch) | |
| tree | 3df990a585a4aa235dd245b9b6d5f1cab04fe0ad | |
| parent | ba11c40e495b8c6278a3ff801cc11065a135c289 (diff) | |
| download | archiso-de151089cec6881a8c6c9a27ba095b1fb1637845.tar.gz archiso-de151089cec6881a8c6c9a27ba095b1fb1637845.tar.bz2 | |
mkarchiso: use C.UTF-8
The glibc 2.35-6 package ships with the C.UTF-8 locale included, so mkarchiso does not need to use a non-UTF-8 locale anymore.
Implements #175.
| -rw-r--r-- | CHANGELOG.rst | 2 | ||||
| -rwxr-xr-x | archiso/mkarchiso | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d8812c0..507bb15 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,8 @@ Changed ------- - Change the releng profile's locale from ``en_US.UTF-8`` to ``C.UTF-8``. +- Set ``LC_ALL`` to ``C.UTF-8`` instead of ``C`` in mkarchiso since it is now available and non-UTF-8 locales should be + avoided. Removed ------- diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 3e0a86f..f8c180a 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -6,7 +6,7 @@ set -e -u # Control the environment umask 0022 -export LC_ALL="C" +export LC_ALL="C.UTF-8" [[ -v SOURCE_DATE_EPOCH ]] || printf -v SOURCE_DATE_EPOCH '%(%s)T' -1 export SOURCE_DATE_EPOCH |
