Skip to content

Commit

Permalink
tzdata: Make installation POSIX conformant
Browse files Browse the repository at this point in the history
From the Linux From Scratch book [1]:

> This creates the posixrules file. We use New York because POSIX
> requires the daylight savings time rules to be in accordance with US
> rules.

[1]: http://www.linuxfromscratch.org/lfs/downloads/8.2/LFS-BOOK-8.2-NOCHUNKS.html
  • Loading branch information
pmenzel committed Mar 16, 2018
1 parent 8a7b991 commit 61dda69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tzdata.be0
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ mee_install() {
cp -vax zoneinfo ${D}/${DATADIR}
cp -v zone.tab zone1970.tab iso3166.tab ${D}/${DATADIR}/zoneinfo

zic -d ${D}/${DATADIR}/zoneinfo -p America/New_York

mkdir -pv ${D}${SYSCONFDIR}
cp ${D}${DATADIR}/zoneinfo/${MYTIMEZONE} ${D}${SYSCONFDIR}/localtime
}

0 comments on commit 61dda69

Please sign in to comment.