Date: Sat, 12 Feb 2005 03:38:08 +0000 (UTC) From: Kris Kennaway <kris@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/Tools/portbuild/scripts clean-chroot Message-ID: <200502120338.j1C3c85M042590@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kris 2005-02-12 03:38:08 UTC FreeBSD ports repository Modified files: Tools/portbuild/scripts clean-chroot Log: * Instead of using umount -f to unmount things, first use fstat to look for processes holding open references within the FS and kill them, then use regular umount. This is necessary now that devfs cannot be force-unmounted, and has the benefit that processes can't hang around holding references to files between port builds. * Reduce possibility for error by testing for presence of executable ldconfig inside the chroot before attempting to run it (e.g. it may not be there if the chroot was not completely initialized) Revision Changes Path 1.5 +44 -7 ports/Tools/portbuild/scripts/clean-chroot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502120338.j1C3c85M042590>