| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 | 
							- <sect1 id="ch06-utillinux">
 
- <title>Installing Util-linux-&util-linux-version;</title>
 
- <?dbhtml filename="util-linux.html" dir="chapter06"?>
 
- <screen>Estimated build time:           &util-linux-time;
 
- Estimated required disk space:  &util-linux-compsize;</screen>
 
- &aa-utillinux-shortdesc;
 
- &aa-utillinux-dep;
 
- <sect2><title> </title><para> </para></sect2>
 
- <sect2>
 
- <title>FHS compliance notes</title>
 
- <para>The FHS recommends that we use <filename>/var/lib/hwclock</filename>,
 
- instead of the usual <filename>/etc</filename>, as the location for the
 
- <filename>adjtime</filename> file. To make the <userinput>hwclock</userinput>
 
- program FHS-compliant, run the following:</para>
 
- <screen><userinput>cp hwclock/hwclock.c{,.backup}
 
- sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
 
-     hwclock/hwclock.c.backup > hwclock/hwclock.c
 
- mkdir -p /var/lib/hwclock</userinput></screen>
 
- </sect2>
 
- <sect2>
 
- <title>Installation of Util-linux</title>
 
- <para>Prepare Util-linux for compilation:</para>
 
- <screen><userinput>./configure</userinput></screen>
 
- <para>Compile the package:</para>
 
- <screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes</userinput></screen>
 
- <para>The meaning of the make parameters:</para>
 
- <itemizedlist>
 
- <listitem><para><userinput>HAVE_KILL=yes</userinput>: This prevents the
 
- <userinput>kill</userinput> program (already installed by Procps) from being
 
- built and installed again.</para></listitem>
 
- <listitem><para><userinput>HAVE_SLN=yes</userinput>: This prevents the
 
- <userinput>sln</userinput> program (a statically linked
 
- <userinput>ln</userinput>, already installed by Glibc) from being built and
 
- installed again.</para></listitem>
 
- </itemizedlist>
 
- <para>And install the package:</para>
 
- <screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes install</userinput></screen>
 
- </sect2>
 
- </sect1>
 
 
  |