diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-09-12 23:16:37 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-09-12 23:16:37 +0000 |
commit | b06ac510ac87954c59e109b18fd0171ca04107c7 (patch) | |
tree | 5080a0f2cbd18ac71878af0b0c8b347da87b252a /chapter06 | |
parent | 1b32453efb73e3b9837ff446ba29be7017612f55 (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')
-rw-r--r-- | chapter06/shellutils-exp.xml | 11 | ||||
-rw-r--r-- | chapter06/shellutils-inst.xml | 11 | ||||
-rw-r--r-- | chapter06/shellutils.xml | 1 |
3 files changed, 20 insertions, 3 deletions
diff --git a/chapter06/shellutils-exp.xml b/chapter06/shellutils-exp.xml new file mode 100644 index 000000000..872f025f6 --- /dev/null +++ b/chapter06/shellutils-exp.xml @@ -0,0 +1,11 @@ +<sect2> +<title>Command explanations</title> + +<para><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch:</userinput> This patch +supresses the build of the hostname program which we will be installed +later with the net-tools package. The hostname program from the net-tools +package is a much better version (and in some cases even required since it +supports options that are needed by some programs such as XFree86).</para> + +</sect2> + 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 && +<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch && +./configure --prefix=/usr && make && make install && -mv /usr/bin/{basename,date,echo,false,hostname} /bin && -mv /usr/bin/{pwd,sleep,stty,su,test,true,uname} /bin && +mv /usr/bin/{basename,date,echo,false,pwd} /bin && +mv /usr/bin/{sleep,stty,su,test,true,uname} /bin && mv /usr/bin/chroot /usr/sbin</userinput></screen></para> </sect2> diff --git a/chapter06/shellutils.xml b/chapter06/shellutils.xml index f0b7288c6..4d238f972 100644 --- a/chapter06/shellutils.xml +++ b/chapter06/shellutils.xml @@ -6,6 +6,7 @@ Estimated required disk space: &sh-utils-compsize;</screen> &c6-shellutils-inst; +&c6-shellutils-exp; &aa-shellutils-desc; &aa-shellutils-dep; |