]> code.ossystems Code Review - openembedded-core.git/commit
base-files: Don't export TZ if /etc/TZ exists
authorRichard Tollerton <rich.tollerton@ni.com>
Wed, 23 Jul 2014 22:29:28 +0000 (17:29 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jul 2014 14:33:33 +0000 (15:33 +0100)
commita69c3ba99be1502c50d3d1eb9ff66f135884ed76
tree5964f63c5f5e12a532801991e25584d5a745e9c0
parentfb32cd7abac268747347ee5cff98a4d07dc4b780
base-files: Don't export TZ if /etc/TZ exists

While glibc/eglibc looks for the time zone in /etc/localtime, other libc
alternatives (e.g. uclibc) may look for it in /etc/TZ.  If /etc/TZ
exists, don't fall back to setting TZ to "UTC" in /etc/profile.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/base-files/base-files/profile