Subject: Re: pkgsrc locking
To: None <>
From: =?ISO-8859-15?Q?Joachim_K=F6nig?= <>
List: tech-pkg
Date: 06/14/2007 12:53:37
On Wed, Jun 13, 2007 at 09:39:41PM +0200, Joerg Sonnenberger wrote:

> On[e] problem is that shlock style locking requires to create a file, e.g.
> it requires to have the WRKDIR present. This is problematic when using
> clean as part of the build targets.
If the lock file would be created "parallel" to WRKDIR, e.g. in the same
parent directory e.g. by calling it ${WRKDIR}.lock it could exist as
long as required, even surviving a "make cleandir", and would work
with parallel sandbox builds that nullmount the pkgsrc tree.