utillinux-inst.xml 802 B

12345678910111213141516171819202122232425
  1. <sect2>
  2. <title>FHS compliance notes</title>
  3. <para>The FHS recommends that we use /var/lib/hwclock as the location of the
  4. adjtime file, instead of the usual /etc. To make hwclock, which is part of the
  5. util-linux package, FHS-compliant, run the following.</para>
  6. <para><screen><userinput>cp hwclock/hwclock.c hwclock/hwclock.c.backup &amp;&amp;
  7. sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
  8. &nbsp;&nbsp;&nbsp;&nbsp;hwclock/hwclock.c.backup &gt; hwclock/hwclock.c &amp;&amp;
  9. mkdir -p /var/lib/hwclock</userinput></screen></para>
  10. </sect2>
  11. <sect2>
  12. <title>Installation of Util-Linux</title>
  13. <para>Install Util-Linux by running the following commands:</para>
  14. <para><screen><userinput>./configure &amp;&amp;
  15. make HAVE_SLN=yes &amp;&amp;
  16. make HAVE_SLN=yes install</userinput></screen></para>
  17. </sect2>