aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml8
-rw-r--r--chapter06/util-linux.xml4
2 files changed, 10 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 85cab8e4b..639cbc509 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,14 @@
<para>2007-04-16</para>
<itemizedlist>
<listitem>
+ <para>[matthew] - Change all references to
+ <filename>/etc/adjtime</filename> in the Util-Linux sources to
+ <filename>/var/lib/hwclock/adjtime</filename>. Previously, only
+ <filename>hwclock/hwclock.c</filename> was changed, which meant that
+ man pages contained references to the non-FHS compliant location.
+ Fixes <ulink url="&lfs-ticket-root;1984">#1984</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[matthew] - Upgrade to Udev-108. Fixes
<ulink url="&lfs-ticket-root;1976">#1976</ulink>.</para>
</listitem>
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index 2286e302b..49b8d118b 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -43,8 +43,8 @@
<command>hwclock</command> program FHS-compliant, run the
following:</para>
-<screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
- hwclock/hwclock.c
+<screen><userinput>sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
+ -i $(grep -rl '/etc/adjtime' .)
mkdir -pv /var/lib/hwclock</userinput></screen>
</sect2>