Added a patch for only [re]mounting /boot when installation is required. Patch

from bug #57836 by Martin "Parmus" Parm.


git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@117 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 21 years ago
parent 7c2d804462
commit eadee68157

@ -77,6 +77,10 @@ then
fi
# Check /boot is mounted
if isTrue ${CMD_NOINSTALL}
then
isTrue ${MOUNTBOOT} && print_info 2 'Skipping automatic mount of boot'
else
if ! egrep -q ' /boot ' /proc/mounts
then
if egrep -q '^[^#].+ /boot ' /etc/fstab
@ -95,6 +99,7 @@ then
print_warning 1 ' Run ``mount /boot`` to mount it!'
echo
fi
fi
elif isBootRO
then
if isTrue ${MOUNTBOOT}

Loading…
Cancel
Save