util-linux.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-tools-util-linux" role="wrap">
  8. <?dbhtml filename="util-linux.html"?>
  9. <title>Util-linux-&util-linux-version;</title>
  10. <indexterm zone="ch-tools-util-linux">
  11. <primary sortas="a-Util-linux">Util-linux</primary>
  12. <secondary>tools</secondary>
  13. </indexterm>
  14. <sect2 role="package">
  15. <title/>
  16. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  17. href="../chapter06/util-linux.xml"
  18. xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  19. <segmentedlist>
  20. <segtitle>&buildtime;</segtitle>
  21. <segtitle>&diskspace;</segtitle>
  22. <seglistitem>
  23. <seg>0.2 SBU</seg>
  24. <seg>8.9 MB</seg>
  25. </seglistitem>
  26. </segmentedlist>
  27. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  28. href="../chapter06/util-linux.xml"
  29. xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Util-linux</title>
  33. <para>Util-linux does not use the freshly installed headers and libraries
  34. from the <filename class="directory">/tools</filename> directory by default.
  35. This is fixed by altering the configure script:</para>
  36. <screen><userinput>sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen>
  37. <para>Prepare Util-linux for compilation:</para>
  38. <screen><userinput>./configure</userinput></screen>
  39. <para>Compile some support routines:</para>
  40. <screen><userinput>make -C lib</userinput></screen>
  41. <para>Only a few of the utilities contained in this package need to be
  42. built:</para>
  43. <screen><userinput>make -C mount mount umount
  44. make -C text-utils more</userinput></screen>
  45. <para>This package does not come with a test suite.</para>
  46. <para>Copy these programs to the temporary tools directory:</para>
  47. <screen><userinput>cp mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
  48. </sect2>
  49. <sect2 role="content">
  50. <title/>
  51. <para>Details on this package are located in
  52. <xref linkend="contents-utillinux" role="."/></para>
  53. </sect2>
  54. </sect1>