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 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...


Home | Main Index | Thread Index | Old Index