summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorPeter A. Bigot <pab@pabigot.com>2020-08-29 16:26:31 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-02 16:00:46 +0100
commit8633b278ef6168352e3074965a82b14093c783fb (patch)
tree8311be2045d5b67736b53d9832d06195c1e87d45 /meta/recipes-extended
parentcdae8c729b649cf587647b1160bfa677a9b88b80 (diff)
downloadpoky-8633b278ef6168352e3074965a82b14093c783fb.tar.gz
timezone: include leap second data in tzdata-core
Conversion between UTC and continuous time scales like TAI requires information about leap seconds. (From OE-Core rev: ce8f6f139a82eeb20cc7cb9f7950b42684775ed8) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/timezone/tzdata.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/timezone/tzdata.bb b/meta/recipes-extended/timezone/tzdata.bb
index 1e2b440fb0..6aac516f69 100644
--- a/meta/recipes-extended/timezone/tzdata.bb
+++ b/meta/recipes-extended/timezone/tzdata.bb
@@ -37,6 +37,8 @@ do_install () {
37 cp -pP "${S}/zone.tab" ${D}${datadir}/zoneinfo 37 cp -pP "${S}/zone.tab" ${D}${datadir}/zoneinfo
38 cp -pP "${S}/zone1970.tab" ${D}${datadir}/zoneinfo 38 cp -pP "${S}/zone1970.tab" ${D}${datadir}/zoneinfo
39 cp -pP "${S}/iso3166.tab" ${D}${datadir}/zoneinfo 39 cp -pP "${S}/iso3166.tab" ${D}${datadir}/zoneinfo
40 cp -pP "${S}/leapseconds" ${D}${datadir}/zoneinfo
41 cp -pP "${S}/leap-seconds.list" ${D}${datadir}/zoneinfo
40 42
41 # Install default timezone 43 # Install default timezone
42 if [ -e ${D}${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ]; then 44 if [ -e ${D}${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ]; then
@@ -145,6 +147,8 @@ RPROVIDES_tzdata-misc = "tzdata-misc"
145FILES_tzdata-core += " \ 147FILES_tzdata-core += " \
146 ${sysconfdir}/localtime \ 148 ${sysconfdir}/localtime \
147 ${sysconfdir}/timezone \ 149 ${sysconfdir}/timezone \
150 ${datadir}/zoneinfo/leapseconds \
151 ${datadir}/zoneinfo/leap-seconds.list \
148 ${datadir}/zoneinfo/Pacific/Honolulu \ 152 ${datadir}/zoneinfo/Pacific/Honolulu \
149 ${datadir}/zoneinfo/America/Anchorage \ 153 ${datadir}/zoneinfo/America/Anchorage \
150 ${datadir}/zoneinfo/America/Los_Angeles \ 154 ${datadir}/zoneinfo/America/Los_Angeles \