cvs commit: ports/Tools/portbuild/scripts clean-chroot
Kris Kennaway
kris at FreeBSD.org
Sat Feb 11 02:05:03 PST 2006
kris 2006-02-11 10:05:01 UTC
FreeBSD ports repository
Modified files:
Tools/portbuild/scripts clean-chroot
Log:
* In kill_procs(), pass in the directory and mountpoint as separate
arguments (cosmetic)
* Detect if a chroot was used to run a jailed build, and first attempt
to gracefully shut it down by killing everything within using pgrep(1)
This has a much higher chance of succeeding that relying on fstat to
identify processes that might interfere with our attempts to clean up
mountpoints, which is fragile (libkvm-dependent), and inherently
unreliable at best.
Revision Changes Path
1.10 +8 -2 ports/Tools/portbuild/scripts/clean-chroot
More information about the cvs-ports
mailing list