diff options
author | Donny Davies <woodchip@gentoo.org> | 2002-10-13 02:34:18 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2002-10-13 02:34:18 +0000 |
commit | 8c7d02e4c0f4f0764ad002551b3e19e57f8c55fe (patch) | |
tree | 6f8d4732f4fe408ad099a810feb0f7fa04bf1f81 /eclass/mount-boot.eclass | |
parent | version bump (diff) | |
download | historical-8c7d02e4c0f4f0764ad002551b3e19e57f8c55fe.tar.gz historical-8c7d02e4c0f4f0764ad002551b3e19e57f8c55fe.tar.bz2 historical-8c7d02e4c0f4f0764ad002551b3e19e57f8c55fe.zip |
fix for #9051
Diffstat (limited to 'eclass/mount-boot.eclass')
-rw-r--r-- | eclass/mount-boot.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/mount-boot.eclass b/eclass/mount-boot.eclass index 78c65d0ba9fe..cd54ddc4ad16 100644 --- a/eclass/mount-boot.eclass +++ b/eclass/mount-boot.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v 1.3 2002/09/30 00:56:44 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v 1.4 2002/10/13 02:34:18 woodchip Exp $ ECLASS=mount-boot INHERITED="$INHERITED $ECLASS" @@ -9,7 +9,7 @@ mount-boot_pkg_setup(){ [ "${ROOT}" != "/" ] && return 0 - local fstabstate="$(cat /etc/fstab | awk '!/^#|^[[:blank:]]+#/ {print $2}' | egrep "/boot" )" + local fstabstate="$(cat /etc/fstab | awk '!/^#|^[[:blank:]]+#|^\/dev\/BOOT/ {print $2}' | egrep "/boot" )" local procstate="$(cat /proc/mounts | awk '{print $2}' | egrep "/boot" )" local proc_ro="$(cat /proc/mounts | awk '{ print $2, $4 }' | sed -n '/\/boot/{ /[ ,]\?ro[ ,]\?/p }' )" |