Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-08-04 10:59:07 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-08-04 10:59:07 +0200
commitc9ab9ceec787ffc2cbe6057227c59618000b4f80 (patch)
tree2e2950d8237221bdfefb07ceababe45e801f38d3
parent69baa117a3275b2fdad65d259fef1c53579d4f1f (diff)
core/glibc: install locales from chroot
-rw-r--r--core/glibc/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index 546aa654..a071881a 100644
--- a/core/glibc/PKGBUILD
+++ b/core/glibc/PKGBUILD
@@ -101,9 +101,16 @@ eval "$(
# have to rebuild twice because generate localdef called in build uses wrong
# ABI resulting in:
# "locale/localedef: /usr/lib/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by locale/localedef"
+# do not regenerate it and install the one from the chroot
eval "$(
declare -f build | \
sed '
/localedef/d
'
)"
+eval "$(
+ declare -f package_glibc | \
+ sed '
+ s|"$srcdir/C.UTF-8"|/usr/lib/locale/C.UTF-8|g
+ '
+)"