pkgsrc-Users archive

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

Re: pbulk setup



On Fri, Jul 15, 2022 at 08:26:16PM +0000, nia wrote:
> On Fri, Jul 15, 2022 at 10:22:42AM +0530, Mayuresh wrote:
> > For example, I never understood why bootstrap kit is not required for
> > NetBSD. Things never worked without it for me. Why pkg install settings in
> > the pbulk.conf have no effect or what are they meant for. Why use
> > /usr/bin/make on NetBSD, why not /usr/pbulk/bin/bmake? etc.
> 
> This is quite clear - NetBSD includes many pkgsrc tools, bmake and
> pkg_install, and so on, in its base system. It is however pre-configured
> for the 'default' settings of pkgsrc. So if you change anything, like
> PREFIX, LOCALBASE, SYSCONFBASE... you need to bootstrap.
> 
> pbulk relies on its own isolated prefix, because it adds and removes
> packages at will, and has some dependencies of its own. Thus any
> pbulk usage requires bootstrapping pkgsrc at least once to a dedicated
> pbulk prefix, I use /data/pbulk. Then in the target chroot(s) you either
> use a bootstrap kit or use the system tools...

So is bootstrap-kit required or not on NetBSD? The instructions say leave
it blank. But if I do so pkg install scripts are not found.

Paths to install scripts can be supplied in pbulk.conf, but they have no
effect. bulkbuild still refers to /usr/pkg, forcing use of bootstrap kit.

-- 
Mayuresh



Home | Main Index | Thread Index | Old Index