diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-02-03 09:03:51 +0000 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-02-03 09:03:51 +0000 |
commit | 1f460e53b4186579f9ec20622356910580663ab3 (patch) | |
tree | af7908923f3d66996024fd3e07dc9ab4d378cf70 | |
parent | a55af7c6f115dd596a941ec09b5cb535875f641b (diff) |
ch{07,08}/util-linux: remove redundant command
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12121 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter07/util-linux.xml | 7 | ||||
-rw-r--r-- | chapter08/util-linux.xml | 8 |
2 files changed, 5 insertions, 10 deletions
diff --git a/chapter07/util-linux.xml b/chapter07/util-linux.xml index 7c11642fe..2c81aaece 100644 --- a/chapter07/util-linux.xml +++ b/chapter07/util-linux.xml @@ -41,8 +41,11 @@ <sect2 role="installation"> <title>Installation of Util-linux</title> - <para>First create a directory - to enable storage for the <command>hwclock</command> program:</para> + <para>The FHS recommends using the <filename + class="directory">/var/lib/hwclock</filename> directory instead of the + usual <filename class="directory">/etc</filename> directory as the + location for the <filename>adjtime</filename> file. Create this directory + with:</para> <screen><userinput remap="pre">mkdir -pv /var/lib/hwclock</userinput></screen> diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml index 7e61e6c6d..a7d3d61f4 100644 --- a/chapter08/util-linux.xml +++ b/chapter08/util-linux.xml @@ -42,14 +42,6 @@ <sect2 role="installation"> <title>Installation of Util-linux</title> - <para>The FHS recommends using the <filename - class="directory">/var/lib/hwclock</filename> directory instead of the - usual <filename class="directory">/etc</filename> directory as the - location for the <filename>adjtime</filename> file. Create this directory - with:</para> - -<screen><userinput remap="pre">mkdir -pv /var/lib/hwclock</userinput></screen> - <para>Prepare Util-linux for compilation:</para> <screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ |