Date: Tue, 28 Dec 2004 05:50:37 +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 dosetupnode Message-ID: <200412280550.iBS5obTh093934@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kris 2004-12-28 05:50:37 UTC
FreeBSD ports repository
Modified files:
Tools/portbuild/scripts dosetupnode
Log:
* Support the -norsync argument to only remove the existing build chroots
on a disconnected client, without running the time-consuming rsyncs.
This is useful when a build is interrupted and needs to be restarted.
* After we have cleaned up the machine, reset the queue counter by using
pollmachine -queue. This has a race condition if other builds are being
dispatched to the machine (e.g. builds on another branch):
getmachine can claim a directory and increment the counter, then the
machine is polled and finds e.g. 0 chroots in use, and resets the
counter to 0, then claim-chroot is run and the build dispatched, with
the counter now off-by-one. This could be fixed by running
claim-chroot with the .lock held, but this turns out to be too
time-consuming. A two-level lock approach might also fix this
efficiently.
Revision Changes Path
1.4 +8 -2 ports/Tools/portbuild/scripts/dosetupnode
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412280550.iBS5obTh093934>
