1 |
swift 13/12/19 07:59:36 |
2 |
|
3 |
Modified: hb-install-system.xml |
4 |
Log: |
5 |
Fix bug #494466 - Use emerge --config sys-libs/timezone-data |
6 |
|
7 |
Revision Changes Path |
8 |
1.142 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.142&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.142&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?r1=1.141&r2=1.142 |
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.141 |
18 |
retrieving revision 1.142 |
19 |
diff -u -r1.141 -r1.142 |
20 |
--- hb-install-system.xml 18 Dec 2013 15:20:47 -0000 1.141 |
21 |
+++ hb-install-system.xml 19 Dec 2013 07:59:36 -0000 1.142 |
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.141 2013/12/18 15:20:47 swift Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.142 2013/12/19 07:59:36 swift Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
@@ -14,8 +14,8 @@ |
32 |
to progress to that state. |
33 |
</abstract> |
34 |
|
35 |
-<version>33</version> |
36 |
-<date>2013-12-18</date> |
37 |
+<version>34</version> |
38 |
+<date>2013-12-19</date> |
39 |
|
40 |
<section> |
41 |
<title>Chrooting</title> |
42 |
@@ -431,29 +431,31 @@ |
43 |
|
44 |
<p> |
45 |
Finally select your timezone so that your system knows where it is physically |
46 |
-located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy |
47 |
-it to <path>/etc/localtime</path>. This file is used by the C library (and |
48 |
-perhaps others as well) to get local timezone information from. Please avoid |
49 |
-the <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not |
50 |
-indicate the expected zones. For instance, <path>GMT-8</path> is in fact |
51 |
-GMT+8. |
52 |
+located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then |
53 |
+write it in the <path>/etc/timezone</path> file. |
54 |
</p> |
55 |
|
56 |
<pre caption="Setting the timezone information"> |
57 |
# <i>ls /usr/share/zoneinfo</i> |
58 |
<comment>(Suppose you want to use Europe/Brussels)</comment> |
59 |
-# <i>cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime</i> |
60 |
+# <i>echo "Europe/Brussels" > /etc/timezone</i> |
61 |
</pre> |
62 |
|
63 |
<p> |
64 |
-Next set the timezone (as text) in the <path>/etc/timezone</path> file. This |
65 |
-file is used by the timezone-data package to update the |
66 |
-<path>/etc/localtime</path> file when an update on the timezone |
67 |
-files is available. |
68 |
+Please avoid the <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their |
69 |
+names do not indicate the expected zones. For instance, <path>GMT-8</path> is |
70 |
+in fact GMT+8. |
71 |
</p> |
72 |
|
73 |
-<pre caption="Setting the timezone in plain text"> |
74 |
-# <i>echo "Europe/Brussels" > /etc/timezone</i> |
75 |
+<p> |
76 |
+Next, reconfigure the timezone-data package, which will update the |
77 |
+<path>/etc/localtime</path> file for us, based on the <path>/etc/timezone</path> |
78 |
+entry. The <path>/etc/localtime</path> file is used by the system C library |
79 |
+to know the timezone the system is in. |
80 |
+</p> |
81 |
+ |
82 |
+<pre caption="Reconfiguring timezone-data"> |
83 |
+# <i>emerge --config sys-libs/timezone-data</i> |
84 |
</pre> |
85 |
|
86 |
</body> |