shellutils-inst.xml 625 B

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