aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shellutils-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-09-12 23:16:37 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-09-12 23:16:37 +0000
commitb06ac510ac87954c59e109b18fd0171ca04107c7 (patch)
tree5080a0f2cbd18ac71878af0b0c8b347da87b252a /chapter06/shellutils-inst.xml
parent1b32453efb73e3b9837ff446ba29be7017612f55 (diff)
removed hostname installation from the sh-utils package by way of the sh-utils-2.0-hostname patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2100 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shellutils-inst.xml')
-rw-r--r--chapter06/shellutils-inst.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml
index 9c7cee0b9..e883b75ac 100644
--- a/chapter06/shellutils-inst.xml
+++ b/chapter06/shellutils-inst.xml
@@ -1,13 +1,18 @@
<sect2>
<title>Installation of Sh-utils</title>
+<para>This package requires its hostname-patch to be applied before you
+can install it. Make sure it's unpacked before running the installation
+commands.</para>
+
<para>Install Sh-utils by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
-mv /usr/bin/{basename,date,echo,false,hostname} /bin &amp;&amp;
-mv /usr/bin/{pwd,sleep,stty,su,test,true,uname} /bin &amp;&amp;
+mv /usr/bin/{basename,date,echo,false,pwd} /bin &amp;&amp;
+mv /usr/bin/{sleep,stty,su,test,true,uname} /bin &amp;&amp;
mv /usr/bin/chroot /usr/sbin</userinput></screen></para>
</sect2>