glibc: populate /etc/locale.gen with all supported locales

This commit is contained in:
Tim Biermann 2022-02-16 12:50:41 +01:00
parent 73cc959e78
commit 8bc6527d2a
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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 \

View File

@ -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.
#