Author: matthew
Date: 2007-04-16 13:38:10 -0600 (Mon, 16 Apr 2007)
New Revision: 8065

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/util-linux.xml
Log:
Change all references to /etc/adjtime in the Util-Linux sources to 
/var/lib/hwclock/adjtime.  Fixes #1984.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2007-04-16 19:34:38 UTC (rev 8064)
+++ trunk/BOOK/chapter01/changelog.xml  2007-04-16 19:38:10 UTC (rev 8065)
@@ -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>

Modified: trunk/BOOK/chapter06/util-linux.xml
===================================================================
--- trunk/BOOK/chapter06/util-linux.xml 2007-04-16 19:34:38 UTC (rev 8064)
+++ trunk/BOOK/chapter06/util-linux.xml 2007-04-16 19:38:10 UTC (rev 8065)
@@ -43,8 +43,8 @@
     <command>hwclock</command> program FHS-compliant, run the
     following:</para>
 
-<screen><userinput>sed -i '[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/lib/hwclock/[EMAIL PROTECTED]' \
-    hwclock/hwclock.c
+<screen><userinput>sed -e '[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/lib/hwclock/[EMAIL PROTECTED]' \
+    -i $(grep -rl '/etc/adjtime' .)
 mkdir -pv /var/lib/hwclock</userinput></screen>
 
   </sect2>

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to