Lars Eggert reports:
Installation of linux_base-7.1_2 fails when linprocfs is mounted. Unmounting linprocfs before installing works around the issue. At Lars' suggestion, this script also mounts the linprocfs after installation. I assume that if the user has a linprocfs entry in /etc/fstab, the user wants it to be mounted. It also seemed like a good idea to un-mount it before de-installation. PR: 46172
This commit is contained in:
parent
8bcb72d4a4
commit
d904731741
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90964
1 changed files with 16 additions and 0 deletions
|
@ -12,6 +12,22 @@ PRE-INSTALL)
|
|||
exit 1
|
||||
fi
|
||||
fi
|
||||
if [ -n "`mount | grep -w ^linprocfs`" ]; then
|
||||
echo 'Un-mounting linprocfs...'
|
||||
umount linprocfs
|
||||
fi
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then
|
||||
echo 'Re-mounting linprocfs...'
|
||||
mount linprocfs
|
||||
fi
|
||||
;;
|
||||
DEINSTALL)
|
||||
if [ -n "`mount | grep -w ^linprocfs`" ]; then
|
||||
echo 'Un-mounting linprocfs...'
|
||||
umount linprocfs
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue