Skip to contentSkip to conversation

tzdata fix and update version

PATCH In review Michael Kurz 1 participant 5 messages Nov 11, 2009 – Nov 12, 2009

lore
Share & tools
lore
#0 lore raw

cover tzdata fix and update version

Michael Kurz (3):
tzdata.inc: install iso3166.tab and zone.tab
tzdata: update to version 2009r
checksums.ini: add entry for tzdata2009r

 conf/checksums.ini             |    4 ++++
 recipes/tzdata/tzdata.inc      |    3 +++
 recipes/tzdata/tzdata_2009r.bb |    3 +++
 3 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 recipes/tzdata/tzdata_2009r.bb
#1 lore raw

PATCH 1/3 tzdata.inc: install iso3166.tab and zone.tab

---
 recipes/tzdata/tzdata.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
recipes/tzdata/tzdata.inc +3 -0
index 71de930..c1ba284 100644
@@ -38,6 +38,7 @@ do_compile () {
 do_install () {
         install -d ${D}${prefix} ${D}${datadir}/zoneinfo
         cp -pPR ${WORKDIR}/build${prefix}/* ${D}${prefix}
+        cp -pP ${WORKDIR}/{iso3166,zone}.tab ${D}${prefix}
 
         # Install a sane default for timezones
         install -d ${D}${sysconfdir}
@@ -168,5 +169,7 @@ FILES_${PN} += "${datadir}/zoneinfo/Pacific/Honolulu     \
                 ${datadir}/zoneinfo/WET                  \
                 ${datadir}/zoneinfo/Zulu                 \
                 ${datadir}/zoneinfo/Etc/*                \
+                ${datadir}/zoneinfo/iso3166.tab          \
+                ${datadir}/zoneinfo/zone.tab             \
                 ${sysconfdir}/localtime                  \
                 ${sysconfdir}/timezone                   "
Signature · 1 line
1.6.5.2
#2 lore raw

PATCH 2/3 tzdata: update to version 2009r

In reply to Michael Kurz
---
 recipes/tzdata/tzdata_2009r.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
 create mode 100644 recipes/tzdata/tzdata_2009r.bb
recipes/tzdata/tzdata_2009r.bb new file +3 -0
new file mode 100644
index 0000000..17c2dd4
@@ -0,0 +1,3 @@
+require tzdata.inc
+SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzdata${PV}.tar.gz"
+PR = "${INC_PR}.0"
Signature · 1 line
1.6.5.2
#3 lore raw

PATCH 3/3 checksums.ini: add entry for tzdata2009r

In reply to Michael Kurz
---
 conf/checksums.ini |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
conf/checksums.ini +4 -0
index d646dbe..4b9bfe3 100644
@@ -25802,6 +25802,10 @@ sha256=7b08bb8a98ad8a06e2cafda05ab21f2a69b2d64252dfc9435c93094d979e7c5a
 md5=75c74b9c8df7c83c8e3c3068fff08a82
 sha256=5fbd4053a4eb01b814799855e35a3c01743f98acf9fcd167522e6484a2edd7b7
 
+[ftp://elsie.nci.nih.gov/pub/tzdata2009r.tar.gz]
+md5=c38d977a3f9f4d4646cab902554c519e
+sha256=684d23e3ebe825c9db90732534446f4e33f5ad4455980b15fd9eb2e4ba5a6731
+
 [ftp://elsie.nci.nih.gov/pub/tzdata2009p.tar.gz]
 md5=e401e284512be17f5cf63ee52e4f3284
 sha256=7182ad6f03bfe16ccdbac4a3efb9e765ea7c51afc33c3a7fefb053122aa6da2c
Signature · 1 line
1.6.5.2
#4 lore raw
In reply to Michael Kurz

Hi,

The patchs are not working so please ignore this patches. Sorry i was to fast and yesterday i have not testet these patches very well. The iso3166.tab an zone.tab are not included in the package because the reciept copy it in the wrong place (${D}${prefix} insteed of ${D}${datadir}/zoneinfo).

greets
Michael