[yocto] tzdata overwrites existing localtime/zoneinfo?

Anders Montonen Anders.Montonen at iki.fi
Sun Oct 28 11:31:44 PDT 2018


Hi,

> On 28 Oct 2018, at 17:27, akuster808 <akuster808 at gmail.com> 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


More information about the yocto mailing list