pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/doc
Module Name: pkgsrc
Committed By: spz
Date: Mon Sep 16 12:38:15 UTC 2024
Modified Files:
pkgsrc/doc: HOWTO-pbulk
Log Message:
pick up jperkin's comment that PBULK_CACHE_DIRECTORY doesn't strictly have
to be shared between clients and is not used on the master.
While editing the file, replace references to the old default PKG_DBDIR
location.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/doc/HOWTO-pbulk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/doc/HOWTO-pbulk
diff -u pkgsrc/doc/HOWTO-pbulk:1.9 pkgsrc/doc/HOWTO-pbulk:1.10
--- pkgsrc/doc/HOWTO-pbulk:1.9 Mon Sep 16 08:10:10 2024
+++ pkgsrc/doc/HOWTO-pbulk Mon Sep 16 12:38:15 2024
@@ -10,17 +10,17 @@ All file systems but those are read-only
specific handling either as tmpfs or link. ptyfs helps for /dev.
For parallel builds, /bulklog, /packages and /usr/pkgsrc are supposed to
-be shared (null mounts, NFS). /usr/pkg and /var/db/pkg needs to be
+be shared (null mounts, NFS). /usr/pkg and PKG_DBDIR need to be
per-node and /scratch should be per-node.
-The defaults scripts will remove /usr/pkg and /var/db/pkg on the master
+The defaults scripts will remove /usr/pkg and PKG_DBDIR on the master
node as well. When using chroot sandboxes for the build, the master can
share a sandbox with one of the build instances.
Step Two: Preparing pbulk prefix
Install pkgtools/pbulk and possibly helper programs like screen into
-LOCALBASE=/usr/pkg_bulk, PKG_DBDIR=/usr/pkg_bulk/.pkgdb. A full
+LOCALBASE=/usr/pkg_bulk, PKG_DBDIR=/usr/pkg_bulk/pkgdb. A full
bootstrap is the recommended approach. Copy /usr/pkg_bulk to the client
nodes for parallel builds.
@@ -115,8 +115,9 @@ PKG_DEVELOPER?= yes
####
PBULK_CACHE_DIRECTORY when set collects the build options of packages,
-so these need to be extracted only once per pbulk run. This needs to be
-a directory shared between pbulk master and clients (like bulklog).
+so these need to be extracted only once per pbulk run. This may be
+a directory shared between pbulk clients (like bulklog) but doesn't
+have to be.
You need to clear it between pbulk runs when you updated pkgsrc,
or packages that change default options or their dependents may stop
building.
Home |
Main Index |
Thread Index |
Old Index