]> code.ossystems Code Review - openembedded-core.git/commit
base-files: don't export TZ="UTC" from /etc/profile
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 4 Oct 2016 18:51:12 +0000 (11:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Oct 2016 23:10:58 +0000 (00:10 +0100)
commit98b6420952cbf73ddd1318f36c68d575c330eb71
treebec6b12714dc6fe9bccdfcd02fc92c836dc384ae
parent197da17dc97cef87375ae9190c6d1495e1c615b9
base-files: don't export TZ="UTC" from /etc/profile

If no /etc/localtime (or /etc/TZ for uclibc) is found, then the libc
will default to UTC, so setting UTC as a fallback default via the TZ
environment variable is redundant.

Since having the TZ environment variable set causes /etc/localtime
to be ignored, it can cause confusion if /etc/localtime is added
interactively after /etc/profile has been run.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/base-files/base-files/profile