tzdata: install /etc/localtime alongside /etc/timezone
authorRoss Burton <ross.burton@intel.com>
Wed, 29 Aug 2012 14:09:15 +0000 (15:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Sep 2012 12:52:07 +0000 (05:52 -0700)
commitbff6ecf871fb024256fb9a5a7a1df5dfa0f92992
tree34c433c301d22699cb2518dcdfd283e8254cd51a
parent92cbe498d3dd1f46cbb118d89971e5bf213f28e7
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.

(From OE-Core rev: efe305c275f288e248655f3a8b266f86c9893f73)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/tzdata/tzdata_2012d.bb