Author: matthew
Date: Mon Mar 4 15:01:15 2013
New Revision: 10195
Log:
/etc/localtime needs to be a symlink for timedatectl to work
Modified:
branches/systemd/BOOK/chapter01/changelog.xml
branches/systemd/BOOK/chapter06/glibc.xml
branches/systemd/BOOK/chapter07/introduction.xml
Modified: branches/systemd/BOOK/chapter01/changelog.xml
==============================================================================
--- branches/systemd/BOOK/chapter01/changelog.xml Mon Mar 4 14:35:12
2013 (r10194)
+++ branches/systemd/BOOK/chapter01/changelog.xml Mon Mar 4 15:01:15
2013 (r10195)
@@ -40,6 +40,11 @@
<para>2013-03-04</para>
<itemizedlist>
<listitem>
+ <para>[matthew] - Make the <filename>/etc/localtime</filename> file a
+ symlink again, so that <command>timedatectl</command> displays the
+ timezone correctly.</para>
+ </listitem>
+ <listitem>
<para>[matthew] - Document how to configure the virtual console under
Systemd.</para>
</listitem>
Modified: branches/systemd/BOOK/chapter06/glibc.xml
==============================================================================
--- branches/systemd/BOOK/chapter06/glibc.xml Mon Mar 4 14:35:12 2013
(r10194)
+++ branches/systemd/BOOK/chapter06/glibc.xml Mon Mar 4 15:01:15 2013
(r10195)
@@ -346,28 +346,11 @@
<para>Then create the <filename>/etc/localtime</filename> file by
running:</para>
-<screen><userinput>cp -v --remove-destination
/usr/share/zoneinfo/<replaceable><xxx></replaceable> \
- /etc/localtime</userinput></screen>
+<screen><userinput>ln -s /etc/localtime
/usr/share/zoneinfo/<replaceable><xxx></replaceable></userinput></screen>
<para>Replace <replaceable><xxx></replaceable> with the name of the
time zone selected (e.g., Canada/Eastern).</para>
- <variablelist>
- <title>The meaning of the cp option:</title>
-
- <varlistentry>
- <term><parameter>--remove-destination</parameter></term>
- <listitem>
- <para>This is needed to force removal of the already existing
symbolic
- link. The reason for copying the file instead of using a symlink is
to
- cover the situation where <filename class="directory">/usr</filename>
- is on a separate partition. This could be important when booted into
- single user mode.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
</sect2>
<sect2 id="conf-ld" role="configuration">
Modified: branches/systemd/BOOK/chapter07/introduction.xml
==============================================================================
--- branches/systemd/BOOK/chapter07/introduction.xml Mon Mar 4 14:35:12
2013 (r10194)
+++ branches/systemd/BOOK/chapter07/introduction.xml Mon Mar 4 15:01:15
2013 (r10195)
@@ -34,16 +34,13 @@
</listitem>
</itemizedlist>
- <para>Third, configuring hostname, keyboard layout and system clock.</para>
+ <para>Third, configuring the hostname, and keyboard layout.</para>
<itemizedlist>
<listitem>
<para><xref linkend="ch-scripts-hostname" role="."/></para>
</listitem>
<listitem>
- <para><xref linkend="ch-scripts-setclock" role="."/></para>
- </listitem>
- <listitem>
<para><xref linkend="ch-scripts-console" role="."/></para>
</listitem>
</itemizedlist>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page