[OE-core] [PATCH] tzdata: We shouldn't override the localtime if it is valid

Otavio Salvador otavio at ossystems.com.br
Fri Feb 8 12:07:27 UTC 2013


On Fri, Feb 8, 2013 at 10:00 AM, Tomas Frydrych
<tf+lists.yocto at r-finger.com> wrote:
> On 08/02/13 11:55, Burton, Ross wrote:
>> On 8 February 2013 11:38, Otavio Salvador <otavio at ossystems.com.br> wrote:
>>>> Can you fix the code to symlink instead of copy?  systemd and more
>>>> needs a symlink so that it can identify the name of the timezone from
>>>> the link target.
>>>
>>> You mean inside the if?
>>
>> I mean in general /etc/localtime should be a symlink and not a copy.
>
> /etc/localtime is a real file so that /etc is not containing a link to a
> file in /usr; this has historically been the case unless I am not
> mistaken. systemd should grow up and read the contents :).

In fact a lot of software expects it to be a symlink so it shouldn't be a copy.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list