shellutils-inst.xml 651 B

123456789101112131415161718192021
  1. <sect2>
  2. <title>Installation of Sh-utils</title>
  3. <para>
  4. Before Sh-utils is installed, the sh-utils patch file needs to be unpacked.
  5. </para>
  6. <blockquote><literallayout>
  7. <userinput>patch -Np1 -i ../sh-utils-2.0.patch
  8. &amp;&amp;</userinput>
  9. <userinput>./configure --prefix=$LFS/usr
  10. --disable-nls &amp;&amp;</userinput>
  11. <userinput>make LDFLAGS=-static &amp;&amp;</userinput>
  12. <userinput>make install &amp;&amp;</userinput>
  13. <userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
  14. <userinput>mv date echo false pwd stty $LFS/bin &amp;&amp;</userinput>
  15. <userinput>mv su true uname hostname $LFS/bin</userinput>
  16. </literallayout></blockquote>
  17. </sect2>