Gentoo Archives: gentoo-user

From: Raymond Lewis Rebbeck <dystopianray@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] daylight savings time
Date: Fri, 02 Mar 2007 13:16:54
Message-Id: 200703022341.16033.dystopianray@gmail.com
In Reply to: Re: [gentoo-user] daylight savings time by "Bo Ørsted Andresen"
1 On Friday, 2 March 2007 23:28, Bo Ørsted Andresen wrote:
2 > On Friday 02 March 2007 13:35:22 Hans-Werner Hilse wrote:
3 > > Hm, set your hardware clock to UTC and do as root:
4 > >
5 > > rm /etc/localtime
6 > > ln -s /usr/share/zoneinfo/Canada/Newfoundland /etc/localtime
7 > >
8 > > should work...
9 >
10 > That's not how it's done anymore. Instead you set:
11 >
12 > TIMEZONE="Canada/Newfoundland"
13 >
14 > in /etc/conf.d/clock and:
15 >
16 > # rm /etc/localtime
17 > # cp /usr/share/zoneinfo/Canada/Newfoundland /etc/localtime
18 >
19 > This has the advantage that it'll work even when /usr isn't mounted.
20
21 TIMEZONE is used by the timezone-data ebuild, so emerge it and it'll
22 automatically update /etc/localtime, no need to do it manually.
23
24 --
25 Raymond Lewis Rebbeck
26 --
27 gentoo-user@g.o mailing list