diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-03-04 23:01:15 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-03-04 23:01:15 +0000 |
commit | 2ebc0d98fea24fe66291bdcf6bdc2cf11e4fece9 (patch) | |
tree | 6f4922555e17e560cddd245eda08b2ab49454add | |
parent | d415c2b22f0d0e4f1dd0b76aae0f64cbd8d0f513 (diff) |
/etc/localtime needs to be a symlink for timedatectl to work
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10195 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 5 | ||||
-rw-r--r-- | chapter06/glibc.xml | 19 | ||||
-rw-r--r-- | chapter07/introduction.xml | 5 |
3 files changed, 7 insertions, 22 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index fec47e18c..c7b2fff48 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -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> diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 503c0159d..eae2da683 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -346,28 +346,11 @@ unset ZONEINFO</userinput></screen> <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"> diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml index c2aa3fe94..d9a58f875 100644 --- a/chapter07/introduction.xml +++ b/chapter07/introduction.xml @@ -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> |