1
0

utillinux.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <sect1 id="ch05-util-linux">
  2. <title>Installing Util-linux-&util-linux-version;</title>
  3. <?dbhtml filename="util-linux.html" dir="chapter05"?>
  4. <screen>Estimated build time: &util-linux-time-tools;
  5. Estimated required disk space: &util-linux-compsize-tools;</screen>
  6. &aa-utillinux-down;
  7. &aa-utillinux-dep;
  8. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  9. <sect2>
  10. <title>Installation of Util-linux</title>
  11. <para>Util-linux doesn't use the freshly installed headers and libraries from
  12. the <filename>/tools</filename> directory. This is fixed by altering the
  13. configure script:</para>
  14. <screen><userinput>cp configure configure.backup
  15. sed "s@/usr/include@/tools/include@g" configure.backup &gt; configure</userinput></screen>
  16. <para>Prepare Util-linux for compilation:</para>
  17. <screen><userinput>./configure</userinput></screen>
  18. <para>Compile some support routines:</para>
  19. <screen><userinput>make -C lib</userinput></screen>
  20. <para>And, since you'll need only a couple of the utilities contained in this
  21. package, build just those:</para>
  22. <screen><userinput>make -C mount mount umount
  23. make -C text-utils more
  24. make -C sys-utils arch</userinput></screen>
  25. <para>Now copy these programs to the temporary tools directory:</para>
  26. <screen><userinput>cp mount/{,u}mount text-utils/more sys-utils/arch /tools/bin</userinput></screen>
  27. </sect2>
  28. <sect2><title>&nbsp;</title><para>&nbsp;</para>
  29. <para>The details on this package are found in <xref linkend="contents-utillinux"/>.</para>
  30. <para>&nbsp;</para></sect2>
  31. </sect1>