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:
>   the base system doesn't have a way to configure a secondary autoload path

There could be a sysctl to set an alternative path, so pkgsrc then could
use $PREFIX/kmodules/$arch/$kernel_build_version/modules/... or similar
and the user would just add:

kern.module.alt_root="/usr/pkg/kmodules"

to /etc/sysctl.conf.

Martin


Home | Main Index | Thread Index | Old Index