aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2021-02-02 16:15:16 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2021-02-02 16:15:16 +0000
commit305ab2a4faa4f3c6a83fc9c3c9f18101bbb2672f (patch)
treec9380e420318c2e75dcb92d8ad26461960d5eb66 /bootscripts
parent5ddb2ead5e4acb3f89739905305cde2429119717 (diff)
Update to bc-3.2.6.
Update to glibc-2.33. Minor change to mountfs boot script. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12109 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/ChangeLog3
-rw-r--r--bootscripts/lfs/init.d/mountfs3
2 files changed, 5 insertions, 1 deletions
diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog
index fd43c1222..f9e0a5ef4 100644
--- a/bootscripts/ChangeLog
+++ b/bootscripts/ChangeLog
@@ -1,3 +1,6 @@
+2021-02-01 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+ * Tweak mountfs to properly exit when an error is found.
+
2021-01-13 Xi Ruoyao <xry111@mengyan1223.wang>
* Use /run instead of deprecated /var/run
diff --git a/bootscripts/lfs/init.d/mountfs b/bootscripts/lfs/init.d/mountfs
index 185a0ab7a..6bf2d6f2f 100644
--- a/bootscripts/lfs/init.d/mountfs
+++ b/bootscripts/lfs/init.d/mountfs
@@ -46,7 +46,8 @@ case "${1}" in
# their option list. _netdev denotes a network filesystem.
log_info_msg "Mounting remaining file systems..."
- mount --all --test-opts no_netdev >/dev/null
+ failed=0
+ mount --all --test-opts no_netdev >/dev/null || failed=1
evaluate_retval
exit $failed
;;