summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-10-28 16:51:47 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-10-28 16:57:18 +0900
commit609fd7e21144ecaf9119c1987f4f3b0313485240 (patch)
treec4729163b3c3fa84703a94b792c1c5f9c7a4bd93
parentc7d9ea12b604aaa5aa8c61012328e360418a2442 (diff)
downloaddefinitions-609fd7e21144ecaf9119c1987f4f3b0313485240.tar.gz
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
-rw-r--r--strata/build-essential/glibc.morph2
1 files changed, 2 insertions, 0 deletions
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"
- |