diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-02-10 15:36:19 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-02-10 15:36:19 +0000 |
commit | 9d12a8a4e9b2f87df072443ecb93b552e9ac519d (patch) | |
tree | dd617b25c4f99baf8455fd5c18e235f1e1a4fd9b | |
parent | 5af17b8d063e0efdede14264c8233cc9c10c8426 (diff) |
Moved additional programs to the ($LFS)/bin directory that are used by the
bootscripts
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1553 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 7 | ||||
-rw-r--r-- | chapter05/grep-inst.xml | 5 | ||||
-rw-r--r-- | chapter05/shellutils-inst.xml | 4 | ||||
-rw-r--r-- | chapter05/textutils-inst.xml | 2 | ||||
-rw-r--r-- | chapter06/grep-inst.xml | 2 | ||||
-rw-r--r-- | chapter06/shellutils-inst.xml | 7 | ||||
-rw-r--r-- | chapter06/textutils-inst.xml | 2 |
7 files changed, 19 insertions, 10 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b2e91aec3..d22180a65 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -24,6 +24,13 @@ <itemizedlist> +<listitem><para>February 10th, 2002 [gerard]: Chapter 5 + 6: Moved +additional programs to the ($LFS)/bin directory that are used by the +bootscripts. No programs used by bootscripts (except daemons themselves) +should be in the /usr directory in case /usr isn't available until far +along in the boot process (when it's an NFS share for +example).</para></listitem> + <listitem><para>February 6th, 2002 [markh]: Appendix A - All descriptions now synced and updated.</para></listitem> diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml index 22102fd1d..92dc5208e 100644 --- a/chapter05/grep-inst.xml +++ b/chapter05/grep-inst.xml @@ -8,7 +8,7 @@ can also be used for other glibc versions so if you aren't sure, then use the first version.</para> <para><screen><userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2 && -./configure --prefix=$LFS/usr --disable-nls && +./configure --prefix=$LFS/usr --disable-nls --bindir=$LFS/bin && unset CPPFLAGS && make LDFLAGS=-static && make install</userinput></screen></para> @@ -16,7 +16,8 @@ make install</userinput></screen></para> <para>If you are using a newer glibc version (2.2.x), you can use the following commands to install Grep:</para> -<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls && +<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls \ + --bindir=$LFS/bin && make LDFLAGS=-static && make install</userinput></screen></para> diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml index 03619e480..d449d03d2 100644 --- a/chapter05/shellutils-inst.xml +++ b/chapter05/shellutils-inst.xml @@ -18,8 +18,8 @@ best to apply it.</para> make LDFLAGS=-static && make install && cd $LFS/usr/bin && -mv date echo false pwd stty $LFS/bin && -mv true uname hostname $LFS/bin</userinput></screen></para> +mv basename date echo false hostname $LFS/bin && +mv pwd sleep stty su test true uname $LFS/bin &&</userinput></screen></para> </sect2> diff --git a/chapter05/textutils-inst.xml b/chapter05/textutils-inst.xml index d9ad8c448..08c544b75 100644 --- a/chapter05/textutils-inst.xml +++ b/chapter05/textutils-inst.xml @@ -6,7 +6,7 @@ <para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls && make LDFLAGS=-static && make install && -mv $LFS/usr/bin/cat $LFS/bin</userinput></screen></para> +mv $LFS/usr/bin/cat $LFS/usr/bin/head $LFS/bin</userinput></screen></para> </sect2> diff --git a/chapter06/grep-inst.xml b/chapter06/grep-inst.xml index 7620afcd5..17885b7f5 100644 --- a/chapter06/grep-inst.xml +++ b/chapter06/grep-inst.xml @@ -3,7 +3,7 @@ <para>Install Grep by running the following commands:</para> -<para><screen><userinput>./configure --prefix=/usr && +<para><screen><userinput>./configure --prefix=/usr --bindir=/bin && make && make install</userinput></screen></para> diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml index cd1f44b26..3003c052d 100644 --- a/chapter06/shellutils-inst.xml +++ b/chapter06/shellutils-inst.xml @@ -7,8 +7,8 @@ make && make install && cd /usr/bin && -mv date echo false pwd stty /bin && -mv su true uname hostname /bin && +mv basename date echo false hostname /bin && +mv pwd sleep stty su test true uname /bin && mv chroot ../sbin</userinput></screen></para> </sect2> @@ -23,7 +23,8 @@ are built into the bash interpreter, but the FHS dictates that there should be a <filename>[</filename> binary. We create that in this way, while still in the <filename>/usr/bin</filename> directory:</para> -<para><screen><userinput>ln -sf test [</userinput></screen></para> +<para><screen><userinput>cd /bin && +ln -sf test [</userinput></screen></para> </sect2> diff --git a/chapter06/textutils-inst.xml b/chapter06/textutils-inst.xml index 43088ac18..2b62f220a 100644 --- a/chapter06/textutils-inst.xml +++ b/chapter06/textutils-inst.xml @@ -6,7 +6,7 @@ <para><screen><userinput>./configure --prefix=/usr && make && make install && -mv /usr/bin/cat /bin</userinput></screen></para> +mv /usr/bin/cat /usr/bin/head /bin</userinput></screen></para> </sect2> |