From 21f36759b6df8a8c98b2617a4f9c8df09763ddcb Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 06 Jun 2019 10:46:02 -0400 Subject: tzdata: Install America/New_York and link posixrules to it Also, this must be done after the zic command in the first loop. --- 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 -- cgit v0.9.1