Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2022-06-08 11:49:00 +0300
committernl6720 <nl6720@gmail.com>2022-06-09 08:31:41 +0300
commitde151089cec6881a8c6c9a27ba095b1fb1637845 (patch)
tree3df990a585a4aa235dd245b9b6d5f1cab04fe0ad
parentba11c40e495b8c6278a3ff801cc11065a135c289 (diff)
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.rst2
-rwxr-xr-xarchiso/mkarchiso2
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