diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-22 07:25:43 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-22 07:25:43 +0000 |
commit | 990ee366b66178649324ccbab3d7a928f22b59c9 (patch) | |
tree | 21c8e9b3d332bd7fd73472c811149fa2f0206807 | |
parent | 322b451e1163aebd193c26b285a6093eb2bc7d0e (diff) | |
download | pkgsrc-990ee366b66178649324ccbab3d7a928f22b59c9.tar.gz |
Added the missing documentation that explains _why_ OBJHOSTNAME should
be set for locking. Based on the CVS log for bsd.pkg.mk 1.907.
-rw-r--r-- | mk/defaults/mk.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf index 4bf05427531..6499703472b 100644 --- a/mk/defaults/mk.conf +++ b/mk/defaults/mk.conf @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf,v 1.150 2007/02/22 07:20:42 rillig Exp $ +# $NetBSD: mk.conf,v 1.151 2007/02/22 07:25:43 rillig Exp $ # # This file provides default values for variables that may be overridden @@ -84,6 +84,11 @@ PKGSRC_LOCKTYPE?= none # process, the current process will sleep for PKGSRC_SLEEPSECS # seconds and then try again. # +# You should also set OBJHOSTNAME when you are using the same +# copy of pkgsrc on different hosts, maybe via NFS. This is because +# the locking process writes its process ID into the lockfile, +# and process IDs on different hosts are unrelated. +# # See also: LOCALBASE_LOCKTYPE, WRKDIR_LOCKTYPE. # # Keywords: lock locking parallel |