utillinux-inst.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>FHS compliance notes</title>
  4. <para>The FHS recommends that we use /var/lib/hwclock, instead of the
  5. usual /etc, as the location of the adjtime file. To make hwclock
  6. FHS-compliant, run the following:</para>
  7. <para><screen><userinput>cp hwclock/hwclock.c{,.backup} &amp;&amp;
  8. sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
  9. &nbsp;&nbsp;&nbsp;&nbsp;hwclock/hwclock.c.backup &gt; hwclock/hwclock.c &amp;&amp;
  10. mkdir -p /var/lib/hwclock</userinput></screen></para>
  11. </sect2>
  12. <sect2>
  13. <title>Installation of Util-linux</title>
  14. <para>Prepare Util-linux to be compiled:</para>
  15. <para><screen><userinput>./configure</userinput></screen></para>
  16. <para>Continue with compiling the package:</para>
  17. <para><screen><userinput>make HAVE_SLN=yes</userinput></screen></para>
  18. <para>The <emphasis>HAVE_SLN</emphasis> option prevents this package,
  19. which was already was installed by Glibc, from being built again.</para>
  20. <para>Finish installing the package:</para>
  21. <para><screen><userinput>make HAVE_SLN=yes install</userinput></screen></para>
  22. </sect2>