From c9ab9ceec787ffc2cbe6057227c59618000b4f80 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 4 Aug 2022 10:59:07 +0200 Subject: core/glibc: install locales from chroot --- core/glibc/PKGBUILD | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core') 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 + ' +)" -- cgit v1.2.3-70-g09d2