tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_install: move pkgdb under ${PREFIX}



On Fri, Aug 28, 2020 at 02:11:24PM -0600, Brook Milligan wrote:
> Hi Thomas,
> 
> > On Aug 28, 2020, at 11:03 AM, Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
> > 
> > At the last pkgsrcCon (in 2019), pkgsrc-pmc decided to move the pkgdb
> > from its current default location (/var/db/pkg) to a location under
> > ${PREFIX}.
> 
> How does this affect unprivileged pkgsrc?

Not at all because the bootstrap script sets a pkgdb directory manually.

> That already installed pkgdb under ${PREFIX}.  The libdata/ location seems fine, but it is different from the default for unprivileged pkgsrc, perhaps for no particular reason?

Unprivileged currently uses "/usr/pkg/pkgdb" so that is a prior art
for that location, thanks for the pointer.
 Thomas


Home | Main Index | Thread Index | Old Index