[OE-core] [PATCH 2/2] tzdata: install /etc/localtime alongside /etc/timezone

Burton, Ross ross.burton at intel.com
Thu Aug 30 09:48:34 UTC 2012


On 29 August 2012 17:50, Koen Kooi <koen at dominion.thruhere.net> wrote:
> Ehm, I *really* want it to be a symlink, that way you easily check what the timezone is without needing to boot the device or compare md5sums. The last thing the TSC said on the split /usr was something along the lines of "would be nice, but only if it doesn't make things worse". A cp instead of ln would make things worse IMO.

Branch updated with a symlink, and the following commit message:

    tzdata: install /etc/localtime alongside /etc/timezone

    Lots of code (such a GLib) expects this to exist and link to the current
    timezone definition.

    /etc/localtime is a symlink instead of a copy of hard link to make
it obvious
    what timezone data it's pointing at. For systems with /etc on a separate
    filesystem to /usr this will result in a dangling symlink until
/usr is mounted,
    but as this is early boot the assumption is that anything checking it will
    handle that case and fallback to UTC.

Ross




More information about the Openembedded-core mailing list