mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Make sure the root fs is mounted read only in mountfs
before halting git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10272 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
f4bdf48b70
commit
df02b599e1
@ -1,3 +1,7 @@
|
||||
2013-05-11 Bruce Dubbs <bdubbs@linuxfromscratch.org>
|
||||
* Make sure the root fs is mounted read only in mountfs
|
||||
before halting
|
||||
|
||||
2013-01-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
|
||||
* Remove local attribue of some variables for Bourne
|
||||
shell compatability
|
||||
|
@ -65,6 +65,9 @@ case "${1}" in
|
||||
umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc >/dev/null
|
||||
evaluate_retval
|
||||
|
||||
# Make sure / is mounted read only (umount bug?)
|
||||
mount -n -o remount,ro /
|
||||
|
||||
# Make all LVM volume groups unavailable, if appropriate
|
||||
# This fails if swap or / are on an LVM partition
|
||||
#if [ -x /sbin/vgchange ]; then /sbin/vgchange -an > /dev/null; fi
|
||||
|
@ -38,6 +38,10 @@
|
||||
<listitem>
|
||||
<para>2013-05-11</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Minor update to boot script mountfs
|
||||
to ensure clean shutdown.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Upgrade to gawk-4.1.0. Fixes
|
||||
<ulink url="&lfs-ticket-root;3343">#3343</ulink>.</para>
|
||||
@ -57,7 +61,7 @@
|
||||
<ulink url="&lfs-ticket-root;3341">#3341</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Upgrade to gettest-0.18.2.1. Fixes
|
||||
<para>[bdubbs] - Upgrade to gettext-0.18.2.1. Fixes
|
||||
<ulink url="&lfs-ticket-root;3298">#3298</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
@ -310,7 +310,7 @@
|
||||
<!ENTITY less-ch6-du "3.6 MB">
|
||||
<!ENTITY less-ch6-sbu "less than 0.1 SBU">
|
||||
|
||||
<!ENTITY lfs-bootscripts-version "20130123"> <!-- Scripts depend on this format -->
|
||||
<!ENTITY lfs-bootscripts-version "20130511"> <!-- Scripts depend on this format -->
|
||||
<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in Makefile -->
|
||||
<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
|
||||
<!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM"> <!-- Updated in Makefile -->
|
||||
|
Loading…
Reference in New Issue
Block a user