summaryrefslogtreecommitdiff
path: root/strata/foundation
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-04 17:26:36 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-04 17:33:27 +0000
commit88ea0d4652ceffd9972016b19a38a21625389f7b (patch)
treef15655b284108a3a00844ce4c89e16cdcc2d2331 /strata/foundation
parent0a6f5899592a8744830d3be16b7ec08d097dd57e (diff)
downloaddefinitions-88ea0d4652ceffd9972016b19a38a21625389f7b.tar.gz
Add time-zone-database to foundation
This increases the size of each system by about 3MB. It allows Baserock systems to convert local time values between different timezones, and is useful for all systems with users who want to be able to manage their system time relative to a certain timezone.
Diffstat (limited to 'strata/foundation')
-rw-r--r--strata/foundation/time-zone-database.morph10
1 files changed, 10 insertions, 0 deletions
diff --git a/strata/foundation/time-zone-database.morph b/strata/foundation/time-zone-database.morph
new file mode 100644
index 00000000..c3c89bcf
--- /dev/null
+++ b/strata/foundation/time-zone-database.morph
@@ -0,0 +1,10 @@
+name: time-zone-database
+kind: chunk
+description: |
+ Time zone database.
+build-system: manual
+install-commands:
+# ETCDIR is actually where the 'tzselect', 'zdump' and 'zic' commands get
+# installed. Note that tzselect from this chunk will overlap with and override
+# the tzselect binary from GLIBC.
+- make TOPDIR="$PREFIX" ETCDIR="$PREFIX/bin" TZDIR="$PREFIX/share/zoneinfo" DESTDIR="$DESTDIR" install