2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Sh-utils</title>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>Before Sh-utils is installed, the sh-utils patch file needs
|
2001-08-08 21:25:19 +01:00
|
|
|
to be unpacked.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-version;.patch &&</userinput>
|
2001-07-06 16:25:48 +01:00
|
|
|
<userinput>./configure --prefix=$LFS/usr --disable-nls &&</userinput>
|
|
|
|
<userinput>make LDFLAGS=-static &&</userinput>
|
|
|
|
<userinput>make install &&</userinput>
|
|
|
|
<userinput>cd $LFS/usr/bin &&</userinput>
|
2001-08-23 23:38:49 +01:00
|
|
|
<userinput>mv -f date echo false pwd stty $LFS/bin &&</userinput>
|
|
|
|
<userinput>mv -f su true uname hostname $LFS/bin</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-08-26 21:26:43 +01:00
|
|
|
<para>The patch file only needs to be applied if you are running
|
|
|
|
glibc-2.1.x on your base system.</para>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|