Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/handbook: hb-install-system.xml
Date: Wed, 18 Dec 2013 10:39:16
Message-Id: 20131218103911.554142004B@flycatcher.gentoo.org
1 swift 13/12/18 10:39:11
2
3 Modified: hb-install-system.xml
4 Log:
5 Fix bug #494466 - Add blurbs about localtime/timezone differences
6
7 Revision Changes Path
8 1.140 xml/htdocs/doc/en/handbook/hb-install-system.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.140&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.140&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?r1=1.139&r2=1.140
13
14 Index: hb-install-system.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v
17 retrieving revision 1.139
18 retrieving revision 1.140
19 diff -u -r1.139 -r1.140
20 --- hb-install-system.xml 17 Dec 2013 11:46:12 -0000 1.139
21 +++ hb-install-system.xml 18 Dec 2013 10:39:11 -0000 1.140
22 @@ -4,7 +4,7 @@
23 <!-- The content of this document is licensed under the CC-BY-SA license -->
24 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25
26 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.139 2013/12/17 11:46:12 swift Exp $ -->
27 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.140 2013/12/18 10:39:11 swift Exp $ -->
28
29 <sections>
30
31 @@ -14,8 +14,8 @@
32 to progress to that state.
33 </abstract>
34
35 -<version>31</version>
36 -<date>2013-12-17</date>
37 +<version>32</version>
38 +<date>2013-12-18</date>
39
40 <section>
41 <title>Chrooting</title>
42 @@ -432,8 +432,9 @@
43 <p>
44 Finally select your timezone so that your system knows where it is physically
45 located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy
46 -it to <path>/etc/localtime</path>. Please avoid the
47 -<path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not
48 +it to <path>/etc/localtime</path>. This file is used by the C library (and
49 +perhaps others as well) to get local timezone information from. Please avoid
50 +the <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not
51 indicate the expected zones. For instance, <path>GMT-8</path> is in fact
52 GMT+8.
53 </p>
54 @@ -442,7 +443,15 @@
55 # <i>ls /usr/share/zoneinfo</i>
56 <comment>(Suppose you want to use Europe/Brussels)</comment>
57 # <i>cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime</i>
58 -<comment>(Next set the timezone)</comment>
59 +</pre>
60 +
61 +<p>
62 +Next set the timezone (as text) in the <path>/etc/timezone</path> file. This
63 +file is sometimes read by applications that do not support the standard
64 +time methods on the system but want to know the current timezone.
65 +</p>
66 +
67 +<pre caption="Setting the timezone in plain text">
68 # <i>echo "Europe/Brussels" &gt; /etc/timezone</i>
69 </pre>