From f158011e9c3c9e2667eeacbc1e51feb02927d8b1 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 20 Feb 2012 02:08:13 +0000 Subject: Add sed to the m4 package to fix a false test failure. Update mountfs script to support LVM volumes when stopping. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9748 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- bootscripts/lfs/init.d/mountfs | 4 +++- chapter01/changelog.xml | 14 ++++++++++++++ chapter06/m4.xml | 6 ++++-- general.ent | 4 ++-- packages.ent | 2 +- 5 files changed, 24 insertions(+), 6 deletions(-) diff --git a/bootscripts/lfs/init.d/mountfs b/bootscripts/lfs/init.d/mountfs index 74e87baff..40a69eefa 100644 --- a/bootscripts/lfs/init.d/mountfs +++ b/bootscripts/lfs/init.d/mountfs @@ -64,7 +64,9 @@ case "${1}" in log_info_msg "Unmounting all other currently mounted file systems..." umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs >/dev/null evaluate_retval - exit 0 + + # Make all LVM volume groups unavailable, if appropriate + if [ -x /sbin/vgchange ]; then /sbin/vgchange -an; fi ;; *) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 59ffb66a5..2f237de57 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -37,6 +37,20 @@ --> + + 2012-02-19 + + + [bdubbs] - Add sed to the m4 package to fix a false test + error. Fixes #3022. + + + [bdubbs] - Update mountfs script to support LVM volumes when + stopping. + + + + 2012-02-15 diff --git a/chapter06/m4.xml b/chapter06/m4.xml index c22282c1d..fcbb8f672 100644 --- a/chapter06/m4.xml +++ b/chapter06/m4.xml @@ -48,9 +48,11 @@ make - To test the results, issue: + + To test the results, first fix a test program and then run the test programs: -make check +sed -i -e '41s/ENOENT/& || errno == EINVAL/' tests/test-readlink.h +make check Install the package: diff --git a/general.ent b/general.ent index d26a776d9..05c5afadc 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + diff --git a/packages.ent b/packages.ent index 4a14c75a2..f6f94ba28 100644 --- a/packages.ent +++ b/packages.ent @@ -305,7 +305,7 @@ - + -- cgit v1.2.3-54-g00ecf