swift 13/12/19 07:59:36 Modified: hb-install-system.xml Log: Fix bug #494466 - Use emerge --config sys-libs/timezone-data
Revision Changes Path 1.142 xml/htdocs/doc/en/handbook/hb-install-system.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.142&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.142&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?r1=1.141&r2=1.142 Index: hb-install-system.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v retrieving revision 1.141 retrieving revision 1.142 diff -u -r1.141 -r1.142 --- hb-install-system.xml 18 Dec 2013 15:20:47 -0000 1.141 +++ hb-install-system.xml 19 Dec 2013 07:59:36 -0000 1.142 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.141 2013/12/18 15:20:47 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.142 2013/12/19 07:59:36 swift Exp $ --> <sections> @@ -14,8 +14,8 @@ to progress to that state. </abstract> -<version>33</version> -<date>2013-12-18</date> +<version>34</version> +<date>2013-12-19</date> <section> <title>Chrooting</title> @@ -431,29 +431,31 @@ <p> Finally select your timezone so that your system knows where it is physically -located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy -it to <path>/etc/localtime</path>. This file is used by the C library (and -perhaps others as well) to get local timezone information from. Please avoid -the <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not -indicate the expected zones. For instance, <path>GMT-8</path> is in fact -GMT+8. +located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then +write it in the <path>/etc/timezone</path> file. </p> <pre caption="Setting the timezone information"> # <i>ls /usr/share/zoneinfo</i> <comment>(Suppose you want to use Europe/Brussels)</comment> -# <i>cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime</i> +# <i>echo "Europe/Brussels" > /etc/timezone</i> </pre> <p> -Next set the timezone (as text) in the <path>/etc/timezone</path> file. This -file is used by the timezone-data package to update the -<path>/etc/localtime</path> file when an update on the timezone -files is available. +Please avoid the <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their +names do not indicate the expected zones. For instance, <path>GMT-8</path> is +in fact GMT+8. </p> -<pre caption="Setting the timezone in plain text"> -# <i>echo "Europe/Brussels" > /etc/timezone</i> +<p> +Next, reconfigure the timezone-data package, which will update the +<path>/etc/localtime</path> file for us, based on the <path>/etc/timezone</path> +entry. The <path>/etc/localtime</path> file is used by the system C library +to know the timezone the system is in. +</p> + +<pre caption="Reconfiguring timezone-data"> +# <i>emerge --config sys-libs/timezone-data</i> </pre> </body>