Commit graph

9 commits

Author SHA1 Message Date
wiz
c85d83c09c *: move default database directory from /var/db/pkg to ${PREFIX}/pkgdb
As discussed in August 2020 and previously on pkgsrcCon 2019.

Ok pkgsrc-pmc@
2020-12-02 10:22:39 +00:00
sevan
d14bc1e07d Use the same method to create the pbulk user on Minix as NetBSD 2018-10-29 02:47:08 +00:00
triaxx
3417f2b33b Fix an inconsistency for package database directory.
The pkgdb variable generated for pbulk.conf is ${PREFIX}/var/db/pkg but
bootstrap generates by default PKG_DBDIR=${PREFIX}/pkgdb.
This fix add a common PKGDBDIR variable used for both pbulk.conf and
bootstrapkit.
2018-02-08 12:59:28 +00:00
sevan
367560c13f Use NetBSD rcsid.
Reminded by joerg.
2017-08-27 18:18:57 +00:00
sevan
e02b0f6664 pbulk is able to handle the creation All directory itself[1].
changing the permission of ${PACKAGES} at the end of the script prevents that
from working.
Undo the change in r1.4 to create the All directory during setup & instead do
not change permissions.

Tested on OS X Tiger & FreeBSD.

Heads up by joerg
[1] http://mail-index.netbsd.org/pkgsrc-changes/2017/08/01/msg160826.html
2017-08-11 19:20:20 +00:00
sevan
29f03a903c Create the All packages sub directory.
This prevents the bulk build failing on the complition of the first package
because the directory doesn't exist.
2017-07-25 22:45:21 +00:00
asau
6409029991 Make the pbulk deployment script more reusable:
- allow setting non-default prefix;
 - avoid embedding non-essential settings into binary bootstrap kit.
2015-12-14 21:12:01 +00:00
he
d5b3e2619b Make sure the pbulk user is created with /bin/sh as shell,
at least on NetBSD.  Trying to build with /bin/csh as login
shell leads to a rather cryptic "Illegal variable name" error
message for all bulk-built packages.
2015-10-29 22:12:04 +00:00
asau
f620ee6198 Add helper script for simplified pbulk setup.
The script serves several purposes. Chief of them:
1. Fast track for those who just want to build their 1000 packages
and do not want to bother with optimizations.
2. Fast track for those who want to understand how pbulk is supposed
to be set up.

Because it serves as a documentation (providing working setup at the same time),
a lot of features are intentionally left out.
2014-07-15 21:29:38 +00:00