utillinux-inst.xml 807 B

1234567891011121314151617181920212223242526
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Util-linux</title>
  4. <para>Prepare Util-linux to be compiled:</para>
  5. <para><screen><userinput>LDFLAGS="-static" ./configure</userinput></screen></para>
  6. <para>Begin compiling the package:</para>
  7. <para><screen><userinput>make -C lib</userinput></screen></para>
  8. <para>We only need the <emphasis>mount</emphasis> and
  9. <emphasis>umount</emphasis> programs at the moment, so we won't be
  10. compiling the entire package. Compile these two programs by issuing
  11. the following command:</para>
  12. <para><screen><userinput>make -C mount mount umount</userinput></screen></para>
  13. <para>Finish installing these two programs:</para>
  14. <para><screen><userinput>cp mount/{mount,umount} $LFS/static/bin</userinput></screen></para>
  15. </sect2>