Patchwork [2/2] Update tzdata to 2014d

login
register
mail settings
Submitter Armin Kuster
Date May 31, 2014, 4:03 a.m.
Message ID <1401508996-21323-3-git-send-email-akuster@mvista.com>
Download mbox | patch
Permalink /patch/73045/
State New
Headers show

Comments

Armin Kuster - May 31, 2014, 4:03 a.m.
moved build data to an inc file since it changes little.

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 meta/recipes-extended/tzdata/{tzdata_2014c.bb => tzdata.inc} | 5 -----
 meta/recipes-extended/tzdata/tzdata_2014d.bb                 | 6 ++++++
 2 files changed, 6 insertions(+), 5 deletions(-)
 rename meta/recipes-extended/tzdata/{tzdata_2014c.bb => tzdata.inc} (97%)
 create mode 100644 meta/recipes-extended/tzdata/tzdata_2014d.bb

Patch

diff --git a/meta/recipes-extended/tzdata/tzdata_2014c.bb b/meta/recipes-extended/tzdata/tzdata.inc
similarity index 97%
rename from meta/recipes-extended/tzdata/tzdata_2014c.bb
rename to meta/recipes-extended/tzdata/tzdata.inc
index 457f145..06a6bea 100644
--- a/meta/recipes-extended/tzdata/tzdata_2014c.bb
+++ b/meta/recipes-extended/tzdata/tzdata.inc
@@ -12,11 +12,6 @@  RCONFLICTS_${PN} = "timezones timezone-africa timezone-america timezone-antarcti
              timezone-australia timezone-europe timezone-indian \
              timezone-iso3166.tab timezone-pacific timezone-zone.tab"
 
-SRC_URI = "ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata"
-
-SRC_URI[tzdata.md5sum] = "fa7f3dc1c6f6238253a6f2b850467e2e"
-SRC_URI[tzdata.sha256sum] = "aa2924e012644de3a6cc3160ffff690cb3afecf350af435daefa43bb669fb8f1"
-
 S = "${WORKDIR}"
 
 DEFAULT_TIMEZONE ?= "Universal"
diff --git a/meta/recipes-extended/tzdata/tzdata_2014d.bb b/meta/recipes-extended/tzdata/tzdata_2014d.bb
new file mode 100644
index 0000000..984c665
--- /dev/null
+++ b/meta/recipes-extended/tzdata/tzdata_2014d.bb
@@ -0,0 +1,6 @@ 
+SRC_URI = "ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata"
+
+SRC_URI[tzdata.md5sum] = "299b86c0368ecfb321f15d5c408a1d9b"
+SRC_URI[tzdata.sha256sum] = "4b4966912f5d4a299b0bdf47e6f3103d82dc6a0b5a6b321e2b9d5662597a62f0"
+
+require tzdata.inc