* [Buildroot] [git commit] fs/skeleton: remove /etc/TZ
@ 2012-10-24 7:16 Peter Korsgaard
2012-10-24 12:30 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2012-10-24 7:16 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=5a61fbd82394f9bc9317535b717a2e1dd51dea7d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Defaulting to UTC (which is what uClibc will default to when /etc/TZ is
missing) seems more sensible than US Mountain Time Zone in the default
rootfs skeleton.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
fs/skeleton/etc/TZ | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fs/skeleton/etc/TZ b/fs/skeleton/etc/TZ
deleted file mode 100644
index 9fcb2a3..0000000
--- a/fs/skeleton/etc/TZ
+++ /dev/null
@@ -1 +0,0 @@
-MST7MDT
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [git commit] fs/skeleton: remove /etc/TZ
2012-10-24 7:16 [Buildroot] [git commit] fs/skeleton: remove /etc/TZ Peter Korsgaard
@ 2012-10-24 12:30 ` Thomas Petazzoni
2012-10-24 13:04 ` Peter Korsgaard
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2012-10-24 12:30 UTC (permalink / raw)
To: buildroot
On Wed, 24 Oct 2012 09:16:50 +0200, Peter Korsgaard wrote:
> commit: http://git.buildroot.net/buildroot/commit/?id=5a61fbd82394f9bc9317535b717a2e1dd51dea7d
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
> Defaulting to UTC (which is what uClibc will default to when /etc/TZ is
> missing) seems more sensible than US Mountain Time Zone in the default
> rootfs skeleton.
And with glibc/eglibc?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [git commit] fs/skeleton: remove /etc/TZ
2012-10-24 12:30 ` Thomas Petazzoni
@ 2012-10-24 13:04 ` Peter Korsgaard
2012-10-24 13:14 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2012-10-24 13:04 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> On Wed, 24 Oct 2012 09:16:50 +0200, Peter Korsgaard wrote:
>> commit: http://git.buildroot.net/buildroot/commit/?id=5a61fbd82394f9bc9317535b717a2e1dd51dea7d
>> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>>
>> Defaulting to UTC (which is what uClibc will default to when /etc/TZ is
>> missing) seems more sensible than US Mountain Time Zone in the default
>> rootfs skeleton.
Thomas> And with glibc/eglibc?
As far as I understand it (e)glibc doesn't use /etc/TZ:
https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
https://www.kernel.org/pub/linux/libs/uclibc/Glibc_vs_uClibc_Differences.txt
time functions
--------------
1) Leap seconds are not supported.
2) /etc/timezone and the whole zoneinfo directory tree are not supported.
To set the timezone, set the TZ environment variable as specified in
http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
or you may also create an /etc/TZ file of a single line, ending with a
newline, containing the TZ setting. For example
echo CST6CDT > /etc/TZ
3) Currently, locale specific eras and alternate digits are not supported.
They are on my TODO list.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [git commit] fs/skeleton: remove /etc/TZ
2012-10-24 13:04 ` Peter Korsgaard
@ 2012-10-24 13:14 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2012-10-24 13:14 UTC (permalink / raw)
To: buildroot
On Wed, 24 Oct 2012 15:04:23 +0200, Peter Korsgaard wrote:
> >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>
> Thomas> On Wed, 24 Oct 2012 09:16:50 +0200, Peter Korsgaard wrote:
> >> commit: http://git.buildroot.net/buildroot/commit/?id=5a61fbd82394f9bc9317535b717a2e1dd51dea7d
> >> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> >>
> >> Defaulting to UTC (which is what uClibc will default to when /etc/TZ is
> >> missing) seems more sensible than US Mountain Time Zone in the default
> >> rootfs skeleton.
>
> Thomas> And with glibc/eglibc?
>
> As far as I understand it (e)glibc doesn't use /etc/TZ:
>
> https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
>
> https://www.kernel.org/pub/linux/libs/uclibc/Glibc_vs_uClibc_Differences.txt
>
> time functions
> --------------
> 1) Leap seconds are not supported.
> 2) /etc/timezone and the whole zoneinfo directory tree are not supported.
> To set the timezone, set the TZ environment variable as specified in
> http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
> or you may also create an /etc/TZ file of a single line, ending with a
> newline, containing the TZ setting. For example
> echo CST6CDT > /etc/TZ
> 3) Currently, locale specific eras and alternate digits are not supported.
> They are on my TODO list.
Ok. I know remember, on glibc I used /etc/localtime. I have patches
here that allow to configure the installation of a certain number of
zoneinfo files, and set a default zoneinfo, when glibc is used. I
should probably submit them someday.
Thanks for the clarification,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-24 13:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-24 7:16 [Buildroot] [git commit] fs/skeleton: remove /etc/TZ Peter Korsgaard
2012-10-24 12:30 ` Thomas Petazzoni
2012-10-24 13:04 ` Peter Korsgaard
2012-10-24 13:14 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.