From 609fd7e21144ecaf9119c1987f4f3b0313485240 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Wed, 28 Oct 2015 16:51:47 +0900 Subject: Install all supported locales with glibc There should be some options here for building glibc.morph with different flavors, to allow minimalistic systems with less then all supported locales installed (this is a ~100MB cache file). For now just simply install all locales supported by the glibc installed charsets using glibc's automatic make target, which seems to make more sense than not installing any locales at all. Change-Id: I86287b027bb6d1c062277bc916de8586408edd83 --- strata/build-essential/glibc.morph | 2 ++ 1 file changed, 2 insertions(+) diff --git a/strata/build-essential/glibc.morph b/strata/build-essential/glibc.morph index 54dbbd9c..6c87c5d9 100644 --- a/strata/build-essential/glibc.morph +++ b/strata/build-essential/glibc.morph @@ -33,6 +33,7 @@ products: - (usr/)?lib(32|64)?/.*\.o - artifact: glibc-locale include: + - (usr/)?lib/locale/.* - (usr/)?share/locale/.* - (usr/)?share/i18n/.* - (usr/)?share/zoneinfo/.* @@ -69,6 +70,7 @@ build-commands: install-commands: - cd o && make install_root="$DESTDIR" localtime=UTC install +- cd o && make install_root="$DESTDIR" localtime=UTC localedata/install-locales - mkdir -p "$DESTDIR/etc" - mkdir -p "$DESTDIR/etc/ld.so.conf.d" - | -- cgit v1.2.1