mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
c67bd1eed6
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@556 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
22 lines
666 B
XML
22 lines
666 B
XML
<sect2>
|
|
<title>Installation of Sh-utils</title>
|
|
|
|
<para>
|
|
Before Sh-utils is installed, the sh-utils patch file needs to be unpacked.
|
|
</para>
|
|
|
|
<blockquote><literallayout>
|
|
<userinput>patch -Np1 -i ../sh-utils-&sh-utils-version;.patch
|
|
&&</userinput>
|
|
<userinput>./configure --prefix=$LFS/usr
|
|
--disable-nls &&</userinput>
|
|
<userinput>make LDFLAGS=-static &&</userinput>
|
|
<userinput>make install &&</userinput>
|
|
<userinput>cd $LFS/usr/bin &&</userinput>
|
|
<userinput>mv date echo false pwd stty $LFS/bin &&</userinput>
|
|
<userinput>mv su true uname hostname $LFS/bin</userinput>
|
|
</literallayout></blockquote>
|
|
|
|
</sect2>
|
|
|