Patchwork tzcode-native: Replace fixed version with PV

login
register
mail settings
Submitter jackie huang
Date Nov. 26, 2013, 10:20 a.m.
Message ID <1385461228-9326-1-git-send-email-jackie.huang@windriver.com>
Download mbox | patch
Permalink /patch/62385/
State New
Headers show

Comments

jackie huang - Nov. 26, 2013, 10:20 a.m.
From: Yue Tao <Yue.Tao@windriver.com>

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
---
 meta/recipes-extended/tzcode/tzcode-native_2013h.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Saul Wold - Dec. 2, 2013, 8:48 p.m.
On 11/26/2013 02:20 AM, jackie.huang@windriver.com wrote:
> From: Yue Tao <Yue.Tao@windriver.com>
>
> Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
> ---
>   meta/recipes-extended/tzcode/tzcode-native_2013h.bb | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/tzcode/tzcode-native_2013h.bb b/meta/recipes-extended/tzcode/tzcode-native_2013h.bb
> index 5cdc7ef..b51e303 100644
> --- a/meta/recipes-extended/tzcode/tzcode-native_2013h.bb
> +++ b/meta/recipes-extended/tzcode/tzcode-native_2013h.bb
> @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=0b7570113550eb5d30aa4bd220964b8
>   # note that we allow for us to use data later than our code version
>   #
>   SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \
> -           ftp://ftp.iana.org/tz/releases/tzdata2013h.tar.gz;name=tzdata"
> +           ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata \
> +"
>
I am not sure it's correct to do this, I think there are times that the 
tzcode and tzdata are not updated at the same time.

Sau!

>   SRC_URI[tzdata.md5sum] = "d310abe42cbe87e76ceb69e2c7003c92"
>   SRC_URI[tzdata.sha256sum] = "6b9e17e823eec0e09e12f74b452a70be4face1ef14c2fb1917b7c7e60564de27"
>
Randy MacLeod - Dec. 4, 2013, 5:57 p.m.
On 13-12-02 03:48 PM, Saul Wold wrote:
> On 11/26/2013 02:20 AM, jackie.huang@windriver.com wrote:
>> From: Yue Tao <Yue.Tao@windriver.com>
>>
>> Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
>> ---
>>   meta/recipes-extended/tzcode/tzcode-native_2013h.bb | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-extended/tzcode/tzcode-native_2013h.bb
>> b/meta/recipes-extended/tzcode/tzcode-native_2013h.bb
>> index 5cdc7ef..b51e303 100644
>> --- a/meta/recipes-extended/tzcode/tzcode-native_2013h.bb
>> +++ b/meta/recipes-extended/tzcode/tzcode-native_2013h.bb
>> @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM =
>> "file://${WORKDIR}/README;md5=0b7570113550eb5d30aa4bd220964b8
>>   # note that we allow for us to use data later than our code version
>>   #
>>   SRC_URI ="
>> ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \
>> -
>> ftp://ftp.iana.org/tz/releases/tzdata2013h.tar.gz;name=tzdata"
>> +
>> ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata \
>> +"
>>
> I am not sure it's correct to do this, I think there are times that the
> tzcode and tzdata are not updated at the same time.

Yes, it's fairly common to have a stable tzcode pkg and frequent
releases of tzdata as the world's governments make, ummm interesting
decisions. :)

../Randy
>
> Sau!
>
>>   SRC_URI[tzdata.md5sum] = "d310abe42cbe87e76ceb69e2c7003c92"
>>   SRC_URI[tzdata.sha256sum] =
>> "6b9e17e823eec0e09e12f74b452a70be4face1ef14c2fb1917b7c7e60564de27"
>>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>

Patch

diff --git a/meta/recipes-extended/tzcode/tzcode-native_2013h.bb b/meta/recipes-extended/tzcode/tzcode-native_2013h.bb
index 5cdc7ef..b51e303 100644
--- a/meta/recipes-extended/tzcode/tzcode-native_2013h.bb
+++ b/meta/recipes-extended/tzcode/tzcode-native_2013h.bb
@@ -6,7 +6,8 @@  LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=0b7570113550eb5d30aa4bd220964b8
 # note that we allow for us to use data later than our code version
 #
 SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \
-           ftp://ftp.iana.org/tz/releases/tzdata2013h.tar.gz;name=tzdata"
+           ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata \
+"
 
 SRC_URI[tzdata.md5sum] = "d310abe42cbe87e76ceb69e2c7003c92"
 SRC_URI[tzdata.sha256sum] = "6b9e17e823eec0e09e12f74b452a70be4face1ef14c2fb1917b7c7e60564de27"