shellutils-inst.xml 630 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. <para>
  7. <screen>
  8. <userinput>patch -Np1 -i ../sh-utils-&sh-utils-version;.patch &amp;&amp;</userinput>
  9. <userinput>./configure --prefix=$LFS/usr --disable-nls &amp;&amp;</userinput>
  10. <userinput>make LDFLAGS=-static &amp;&amp;</userinput>
  11. <userinput>make install &amp;&amp;</userinput>
  12. <userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
  13. <userinput>mv date echo false pwd stty $LFS/bin &amp;&amp;</userinput>
  14. <userinput>mv su true uname hostname $LFS/bin</userinput>
  15. </screen>
  16. </para>
  17. </sect2>