From 8cd994f474f041052a1e334b33bbd627330fa7f0 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 29 May 2002 23:31:41 +0000 Subject: [PATCH] removed stuff no longer pertinent after the /static implementation git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1943 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/bash-exp.xml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/chapter05/bash-exp.xml b/chapter05/bash-exp.xml index d55fd2839..244e16f95 100644 --- a/chapter05/bash-exp.xml +++ b/chapter05/bash-exp.xml @@ -4,16 +4,9 @@ --enable-static-link: This configure option causes bash to be linked statically. ---prefix=$LFS/usr: This configure option installs -all of Bash's files under the $LFS/usr directory, which becomes the /usr -directory when chroot'ed or reboot'ed into LFS. - ---bindir=$LFS/bin: This installs the executable -files in $LFS/bin. We do this because we want bash to be in /bin, not in -/usr/bin. One reason being: the /usr partition might be on a separate -partition which has to be mounted at some point. Before that partition is -mounted you need and will want to have bash available (it will be hard to -execute the boot scripts without a shell for instance). +--prefix=$LFS/static: This configure option +installs all of Bash's files under the $LFS/static directory, which becomes +the /static directory when chroot'ed or reboot'ed into LFS. --with-curses: This causes bash to be linked against the curses library instead of the default termcap @@ -28,12 +21,6 @@ trouble later on in this chapter when you install the Texinfo package. That package requires ncurses, and termcap can't reliably be used there. -ln -sf bash $LFS/bin/sh: This command creates -the sh symlink that points to bash. Most -scripts run themselves via 'sh' (invoked by the #!/bin/sh as the first line -in the scripts) which invokes a special bash mode. Bash will then behave -(as closely as possible) as the original Bourne shell. - The &&'s at the end of every line cause the next command to be executed only if the previous command exits with a return value of 0 indicating success. In case all of these