diff options
Diffstat (limited to 'chapter05/bash.xml')
-rw-r--r-- | chapter05/bash.xml | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/chapter05/bash.xml b/chapter05/bash.xml index 21df197e7..ee1fb574e 100644 --- a/chapter05/bash.xml +++ b/chapter05/bash.xml @@ -42,15 +42,13 @@ <sect2 role="installation"> <title>Installation of Bash</title> -<!-- - <para>First, apply the following patch to fix various bugs that have been - addressed upstream:</para> -<screen><userinput remap="pre">patch -Np1 -i ../&bash-fixes-patch;</userinput></screen> ---> <para>Prepare Bash for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/tools --without-bash-malloc</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr \ + --build=$(support/config.guess) \ + --host=$LFS_TGT \ + --without-bash-malloc</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> @@ -72,21 +70,18 @@ <screen><userinput remap="make">make</userinput></screen> - <para>Compilation is now complete. As discussed earlier, running the test - suite is not mandatory for the temporary tools here in this chapter. To run - the Bash test suite anyway, issue the following command:</para> - + <para>Install the package:</para> -<screen><userinput remap="test">make tests</userinput></screen> +<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> - <para>Install the package:</para> + <para>Move the excutable to where it is expected to be:</para> -<screen><userinput remap="install">make install</userinput></screen> +<screen><userinput remap="install">mv $LFS/usr/bin/bash $LFS/bin/bash</userinput></screen> <para>Make a link for the programs that use <command>sh</command> for a shell:</para> -<screen><userinput remap="install">ln -sv bash /tools/bin/sh</userinput></screen> +<screen><userinput remap="install">ln -sv bash $LFS/bin/sh</userinput></screen> </sect2> |