summaryrefslogtreecommitdiff
path: root/glibc
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-02-16 12:50:41 +0100
committerTim Biermann <tbier@posteo.de>2022-02-16 12:50:41 +0100
commit8bc6527d2a02e455d70703f8c80256e18b2acb24 (patch)
treeebb34f901b07bc4dadddd5efd6cb37a995aaf64b /glibc
parent73cc959e7889e2b46c87b027f5a84b4b67ab17f7 (diff)
downloadcore-8bc6527d2a02e455d70703f8c80256e18b2acb24.tar.gz
core-8bc6527d2a02e455d70703f8c80256e18b2acb24.tar.xz
glibc: populate /etc/locale.gen with all supported locales
Diffstat (limited to 'glibc')
-rw-r--r--glibc/.signature6
-rw-r--r--glibc/Pkgfile2
-rw-r--r--glibc/locale.gen.in3
3 files changed, 6 insertions, 5 deletions
diff --git a/glibc/.signature b/glibc/.signature
index 6460acae..2a82ad41 100644
--- a/glibc/.signature
+++ b/glibc/.signature
@@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/core.pub
-RWRJc1FUaeVeqnBMHCZxuweltMHBlz2YM3otg0kj8P9vsE+H77YnsYR+WVa7uZO/oWxYPXW4VcSQ90ej09Z/IF6pYye5k7IhSQ8=
-SHA256 (Pkgfile) = 3c43bdc0b27f779dafed89822620f4ccbec588d67a5108b37c2c3c08b3f42361
+RWRJc1FUaeVeqi7dLooZad5iiYHGYtnDTJFTbG74kkrdAcODrIlAuY38Xluau2rtMSwy+sZpvOHi8Ft98dsGUV7IFk/xo3GiFgY=
+SHA256 (Pkgfile) = 42adcdfef9ce2fd3d3c9499326117d13b2f066eebd74f006dae2963f30bbb079
SHA256 (.footprint) = 18acf8b44f896a471a6aa3dbae84067f21e7cd650f5489ca26fa6026441d9aa2
SHA256 (glibc-2.35.tar.xz) = 5123732f6b67ccd319305efd399971d58592122bcc2a6518a1bd2510dd0cf52e
SHA256 (linux-5.15.21.tar.xz) = 294eeb6cd7dc9b144c3c3c8b8c7b3fca9c6b072b6ed9bf9d6c922f9deb70fbd1
@@ -11,4 +11,4 @@ SHA256 (nsswitch.conf) = 859b8984e5e90aff3cce8f9779996ae4033b280d2122840e9411e2f
SHA256 (host.conf) = 1bffc6575eb6204458758c34656cd44d87e7d89f545055f8857dd8906b7fb277
SHA256 (ld.so.conf) = 441a37924864b5b063208922ea04a926cd9654e74ed3f160b9d455b56d23387f
SHA256 (locale-gen) = 463c4137bd9c1ac7c15d3e5460e67e3826a4fbaeaf4cc53728d443d01f629936
-SHA256 (locale.gen.in) = 30bf19ffeab9e5e0661636eb42cadc27335711c9a95148f55a30be0039c4d74a
+SHA256 (locale.gen.in) = 413a286923fb6f26c3a1bd2d1f7cd9019b9e5dc6a6f7903f438b6844955c1a46
diff --git a/glibc/Pkgfile b/glibc/Pkgfile
index 59793b68..bb0c116d 100644
--- a/glibc/Pkgfile
+++ b/glibc/Pkgfile
@@ -52,6 +52,8 @@ build() {
install -Dm755 $SRC/locale-gen $PKG/usr/sbin/locale-gen
install -Dm644 $SRC/locale.gen.in $PKG/etc/locale.gen
+ sed -e '1,3d' -e 's|/| |g' -e 's|\\| |g' -e 's|^|#|g' \
+ $SRC/$name-$version/localedata/SUPPORTED >> $PKG/etc/locale.gen
LC_ALL=C ./elf/ld.so --library-path . $PKG/usr/bin/localedef \
--force --quiet \
diff --git a/glibc/locale.gen.in b/glibc/locale.gen.in
index 27d30e4c..90c27d03 100644
--- a/glibc/locale.gen.in
+++ b/glibc/locale.gen.in
@@ -19,5 +19,4 @@
# A list of supported locales is included in this file.
# Remove the comment marker "#" off the start of the line
# for the ones you need.
-
-
+#

Generated by cgit