diff options
Diffstat (limited to 'meta/recipes-extended/timezone')
-rw-r--r-- | meta/recipes-extended/timezone/timezone.inc | 8 | ||||
-rw-r--r-- | meta/recipes-extended/timezone/tzdata.bb | 10 |
2 files changed, 11 insertions, 7 deletions
diff --git a/meta/recipes-extended/timezone/timezone.inc b/meta/recipes-extended/timezone/timezone.inc index a89560b424..46bc1b794e 100644 --- a/meta/recipes-extended/timezone/timezone.inc +++ b/meta/recipes-extended/timezone/timezone.inc | |||
@@ -3,10 +3,10 @@ DESCRIPTION = "The Time Zone Database contains code and data that represent \ | |||
3 | the history of local time for many representative locations around the globe." | 3 | the history of local time for many representative locations around the globe." |
4 | HOMEPAGE = "http://www.iana.org/time-zones" | 4 | HOMEPAGE = "http://www.iana.org/time-zones" |
5 | SECTION = "base" | 5 | SECTION = "base" |
6 | LICENSE = "PD & BSD & BSD-3-Clause" | 6 | LICENSE = "PD & BSD-3-Clause" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba" |
8 | 8 | ||
9 | PV = "2021a" | 9 | PV = "2024a" |
10 | 10 | ||
11 | SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \ | 11 | SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \ |
12 | http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata \ | 12 | http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata \ |
@@ -14,5 +14,5 @@ SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz | |||
14 | 14 | ||
15 | UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones" | 15 | UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones" |
16 | 16 | ||
17 | SRC_URI[tzcode.sha256sum] = "eb46bfa124b5b6bd13d61a609bfde8351bd192894708d33aa06e5c1e255802d0" | 17 | SRC_URI[tzcode.sha256sum] = "80072894adff5a458f1d143e16e4ca1d8b2a122c9c5399da482cb68cba6a1ff8" |
18 | SRC_URI[tzdata.sha256sum] = "39e7d2ba08c68cbaefc8de3227aab0dec2521be8042cf56855f7dc3a9fb14e08" | 18 | SRC_URI[tzdata.sha256sum] = "0d0434459acbd2059a7a8da1f3304a84a86591f6ed69c6248fffa502b6edffe3" |
diff --git a/meta/recipes-extended/timezone/tzdata.bb b/meta/recipes-extended/timezone/tzdata.bb index e6a0655afe..cc6206ac70 100644 --- a/meta/recipes-extended/timezone/tzdata.bb +++ b/meta/recipes-extended/timezone/tzdata.bb | |||
@@ -19,13 +19,17 @@ TZONES= "africa antarctica asia australasia europe northamerica southamerica \ | |||
19 | " | 19 | " |
20 | # pacificnew | 20 | # pacificnew |
21 | 21 | ||
22 | # "slim" is the default since 2020b | ||
23 | # "fat" is needed by e.g. MariaDB's mysql_tzinfo_to_sql | ||
24 | ZIC_FMT ?= "slim" | ||
25 | |||
22 | do_compile () { | 26 | do_compile () { |
23 | for zone in ${TZONES}; do \ | 27 | for zone in ${TZONES}; do \ |
24 | ${STAGING_BINDIR_NATIVE}/zic -d ${WORKDIR}${datadir}/zoneinfo -L /dev/null \ | 28 | ${STAGING_BINDIR_NATIVE}/zic -b ${ZIC_FMT} -d ${WORKDIR}${datadir}/zoneinfo -L /dev/null \ |
25 | ${S}/${zone} ; \ | 29 | ${S}/${zone} ; \ |
26 | ${STAGING_BINDIR_NATIVE}/zic -d ${WORKDIR}${datadir}/zoneinfo/posix -L /dev/null \ | 30 | ${STAGING_BINDIR_NATIVE}/zic -b ${ZIC_FMT} -d ${WORKDIR}${datadir}/zoneinfo/posix -L /dev/null \ |
27 | ${S}/${zone} ; \ | 31 | ${S}/${zone} ; \ |
28 | ${STAGING_BINDIR_NATIVE}/zic -d ${WORKDIR}${datadir}/zoneinfo/right -L ${S}/leapseconds \ | 32 | ${STAGING_BINDIR_NATIVE}/zic -b ${ZIC_FMT} -d ${WORKDIR}${datadir}/zoneinfo/right -L ${S}/leapseconds \ |
29 | ${S}/${zone} ; \ | 33 | ${S}/${zone} ; \ |
30 | done | 34 | done |
31 | } | 35 | } |