]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
timezone: use 'tz' subdir instead of ${WORKDIR} directly
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 13 Mar 2023 11:06:30 +0000 (12:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Mar 2023 17:12:15 +0000 (17:12 +0000)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/timezone/timezone.inc
meta/recipes-extended/timezone/tzcode-native.bb
meta/recipes-extended/timezone/tzdata.bb

index 1834665a1eafd5f24f4a4b383e2f4a0e40f188e6..eec7177228c587c34026c4a31eab8abfa01b8099 100644 (file)
@@ -8,10 +8,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba"
 
 PV = "2022g"
 
-SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \
-           http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata \
+SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode;subdir=tz \
+           http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata;subdir=tz \
            "
 
+S = "${WORKDIR}/tz"
+
 UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones"
 
 SRC_URI[tzcode.sha256sum] = "9610bb0b9656ff404c361a41f3286da53064b5469d84f00c9cb2314c8614da74"
index e3582ba674b17f876fda3afa27506243379964ad..d0b23a9d809fad4b4af34160a5afd2c0076d005a 100644 (file)
@@ -1,10 +1,7 @@
 require timezone.inc
 
-#
 SUMMARY = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
 
-S = "${WORKDIR}"
-
 inherit native
 
 EXTRA_OEMAKE += "cc='${CC}'"
index 7f4322d8671e165eedca8bdc64a53a6d40305020..ce725008c0eaf5859697fc527dac323a7c828601 100644 (file)
@@ -4,8 +4,6 @@ DEPENDS = "tzcode-native"
 
 inherit allarch
 
-S = "${WORKDIR}"
-
 DEFAULT_TIMEZONE ?= "Universal"
 INSTALL_TIMEZONE_FILE ?= "1"