summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-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