tech-pkg archive

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

Re: Time to change defaults for PKG_DBDIR



> 2) Adjust platform/NetBSD.mk warning:
> New warning text:
>   ERROR: PKG_DBDIR is not explicitly set in /etc/mk.conf
>   and /var/db/pkg exists.  See
>   http://pkgsrc.org/pkgdb-change/#set-PKG_DBDIR for instructions.

The main caveat I have with this is that - according to the
instructions, at least - this may not be sufficient, as PKG_DBDIR
needs to be set in three different places (/etc/mk.conf,
/etc/pkg_install.conf, and /usr/pkg/etc/pkg_install.conf - although
presumably that should technically be a relative directory based
on where the currently invoked pkg_install is located... unless that's
actually a fourth file location if /usr/pkg/etc/pkg_install.conf needs 
to exist even if that hierarchy ain't in use?)



Home | Main Index | Thread Index | Old Index