]> code.ossystems Code Review - openembedded-core.git/commit
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:47:34 +0000 (05:47 -0700)
commitefe305c275f288e248655f3a8b266f86c9893f73
tree297af3e59089522a55f83d52ccfb2f1dc9eb0d91
parent02e8b5c1fd68fa18ee81ba2920cd48fea8a1ef5e
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.

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