aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/shellutils-inst.xml
blob: 5f83c1a80a06208ace3f940ed4ac114b6284f851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<sect2>
<title>Installation of Sh-utils</title>

<para>Before Sh-utils is installed, the sh-utils patch file needs 
to be unpacked.</para>

<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-version;.patch &amp;&amp;</userinput>
<userinput>./configure --prefix=$LFS/usr --disable-nls &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
<userinput>mv date echo false pwd stty $LFS/bin &amp;&amp;</userinput>
<userinput>mv su true uname hostname $LFS/bin</userinput></screen></para>

<para>The patch file only needs to be applied if you are running
glibc-2.1.x on your base system.</para>

</sect2>