tech-pkg archive

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

Re: How to install a file outside of /usr/pkg ($PREFIX)



On Wed, Jan 14, 2015 at 04:45:36PM -0500, Greg Troxel wrote:
 > So the issue is
 > 
 >   that the base system refers to mppe, but doesn't provide it.
 >   pkgsrc wants to not write outside of LOCALBASE
 >   the base system doesn't have a way to configure a secondary autoload path
 > 
 > each of which is mostly reasonable, but together isn't.
 > 
 > I am reluctant to support installing outside of LOCALBASE by default.
 > It almost feels like PKGD_MODULES=yes would allow copying of modules,
 > but that could be silly for few cases.
 > 
 > What do others think?

I think there's a general problem in base that base doesn't know how
to find pkgsrc, and that this should get a general solution in base.
(We grew /etc/pkgpath.conf recently because of this, but it's not a
general solution.)

With that we can just install pkgsrc kernel modules in
$PREFIX/lib/modules or $PREFIX/plugins/kernel or whatever (choosing a
decent standard place for kernel modules remains an unanswered and
contentious question) and there isn't a problem until/unless there's a
pkgsrc kernel module that needs to be on the root volume. I don't see
any reason to hold our breath waiting for one of those; this module
doesn't and there haven't ever been more than a handful of kernel
modules in pkgsrc anyway.

There are a lot of other things in base that ought to be able to find
pkgsrc accurately and would benefit from a general solution, too.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index