summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-06 10:46:02 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-06 10:46:02 (EDT)
commit21f36759b6df8a8c98b2617a4f9c8df09763ddcb (patch)
treea7fcd24649c34446d005c67c0d054e85a7d4dee1
parentb07ae3a0d922f0d43b2245017d67e8b70be1da90 (diff)
tzdata: Install America/New_York and link posixrules to it
Also, this must be done after the zic command in the first loop.
-rwxr-xr-xbuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/build b/build
index f632b1a..2fb73fe 100755
--- a/build
+++ b/build
@@ -25,12 +25,8 @@ install: build
oh-fixperms
oh-strip
oh-installfiles
- # Install tzdata files.
- mkdir -p tzdata.data/usr/share/zoneinfo/Etc
- mv tzdata-etcetera.data/usr/share/zoneinfo/Etc/UTC \
- tzdata.data/usr/share/zoneinfo/Etc
+ # Install country and zone tables used by tzselect.
cp src/*.tab tzdata.data/usr/share/zoneinfo
- ln -sf Universal tzdata.data/usr/share/zoneinfo/posixrules
# Install Factory zone.
src/zic -d tzdata.data/usr/share/zoneinfo src/factory; \
mkdir -p tzdata.data/etc
@@ -75,3 +71,8 @@ install: build
mkdir -p "$${src%/*}"; \
ln -sf "$${up}$${dest}" "$${src}"; \
done
+ # Install America/New_York in tzdata and link posixrules to it.
+ mkdir -p tzdata.data/usr/share/zoneinfo/America
+ mv tzdata-northamerica.data/usr/share/zoneinfo/America/New_York \
+ tzdata.data/usr/share/zoneinfo/America
+ ln -sf America/New_York tzdata.data/usr/share/zoneinfo/posixrules