cvs commit: ports/Tools/portbuild/scripts clean-chroot
Kris Kennaway
kris at FreeBSD.org
Fri Feb 11 19:38:08 PST 2005
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
More information about the cvs-ports
mailing list