Re: [yocto] tzdata overwrites existing localtime/zoneinfo?

2018-10-28 Thread akuster808

On 10/28/18 6:31 PM, Anders Montonen wrote:
> Hi,
>
>> On 28 Oct 2018, at 17:27, akuster808  wrote:
>> On 10/25/18 5:43 PM, Anders Montonen wrote:
>>> It seems to me that the tzdata package will overwrite whatever the current 
>>> time zone is with its default. This is not great if you’re upgrading the 
>>> package on an existing system. Should the creation of the file and link be 
>>> removed from the do_install and only be done in the pkg_postinst?
>> Timely email.. 2018g just got release. I will take a look at this issue
>> shortly.
> A colleague pointed out that although ${sysconfdir}/localtime is added to 
> CONFFILES, the get_conffiles() function in package.bbclass explicitly removes 
> symlinks from the list of configuration files.

Have you tried setting INSTALL_TIMEZONE_FILE="0" in your local.conf?

- armin

>
> Regards,
> Anders Montonen
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] tzdata overwrites existing localtime/zoneinfo?

2018-10-28 Thread Anders Montonen
Hi,

> On 28 Oct 2018, at 17:27, akuster808  wrote:
> On 10/25/18 5:43 PM, Anders Montonen wrote:
>> It seems to me that the tzdata package will overwrite whatever the current 
>> time zone is with its default. This is not great if you’re upgrading the 
>> package on an existing system. Should the creation of the file and link be 
>> removed from the do_install and only be done in the pkg_postinst?
> Timely email.. 2018g just got release. I will take a look at this issue
> shortly.

A colleague pointed out that although ${sysconfdir}/localtime is added to 
CONFFILES, the get_conffiles() function in package.bbclass explicitly removes 
symlinks from the list of configuration files.

Regards,
Anders Montonen
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] tzdata overwrites existing localtime/zoneinfo?

2018-10-28 Thread akuster808

On 10/25/18 5:43 PM, Anders Montonen wrote:
> Hi,
>
> It seems to me that the tzdata package will overwrite whatever the current 
> time zone is with its default. This is not great if you’re upgrading the 
> package on an existing system. Should the creation of the file and link be 
> removed from the do_install and only be done in the pkg_postinst?

Timely email.. 2018g just got release. I will take a look at this issue
shortly.


- armin

>
> Regards,
> Anders Montonen
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] tzdata overwrites existing localtime/zoneinfo?

2018-10-25 Thread Anders Montonen
Hi,

It seems to me that the tzdata package will overwrite whatever the current time 
zone is with its default. This is not great if you’re upgrading the package on 
an existing system. Should the creation of the file and link be removed from 
the do_install and only be done in the pkg_postinst?

Regards,
Anders Montonen
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto