From 7c4d11a23a9c3614bd5b6a6051119a7b24b9ff6a Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 25 Oct 2015 21:38:38 +0000 Subject: [PATCH] Revise version-check.sh to flag bad /bin/sh symlinks git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10967 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- bootscripts/lfs/sysconfig/rc.site | 4 ++-- chapter01/changelog.xml | 10 ++++++++++ chapter02/mounting.xml | 2 +- general.ent | 4 ++-- prologue/hostreqs.xml | 6 +++++- 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/bootscripts/lfs/sysconfig/rc.site b/bootscripts/lfs/sysconfig/rc.site index 9b501e542..400870403 100644 --- a/bootscripts/lfs/sysconfig/rc.site +++ b/bootscripts/lfs/sysconfig/rc.site @@ -71,8 +71,8 @@ #UTC=1 #CLOCKPARAMS= -# For consolelog -#LOGLEVEL=5 +# For consolelog (Note that the default, 7=debug, is noisy) +#LOGLEVEL=7 # For network #HOSTNAME=mylfs diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4a253bc1b..8549fe37b 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,16 @@ --> + + 2015-10-25 + + + [bdubbs] - Revise version-check.sh to flag + bad /bin/sh symlinks. + + + + 2015-10-17 diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml index e1db1fe63..c6f749e66 100644 --- a/chapter02/mounting.xml +++ b/chapter02/mounting.xml @@ -14,7 +14,7 @@ be made accessible. In order to do this, the partition needs to be mounted at a chosen mount point. For the purposes of this book, it is assumed that the file system is mounted under the directory specified by the - LFS environment varibale as described in the previous section. + LFS environment variable as described in the previous section. Create the mount point and mount the LFS file system by running: diff --git a/general.ent b/general.ent index da6e6e333..4678d917a 100644 --- a/general.ent +++ b/general.ent @@ -1,7 +1,7 @@ - + - + diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml index f77d88105..2720db439 100644 --- a/prologue/hostreqs.xml +++ b/prologue/hostreqs.xml @@ -163,7 +163,11 @@ # Simple script to list version numbers of critical development tools export LC_ALL=C bash --version | head -n1 | cut -d" " -f2-4 -echo "/bin/sh -> `readlink -f /bin/sh`" +MYSH=$(readlink -f /bin/sh) +echo "/bin/sh -> $MYSH" +echo $MYSH | grep -qv bash || echo "ERROR: /bin/sh does not point to bash" +unset MYSH + echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3- bison --version | head -n1