util-linux.xml 2.2 KB

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