tech-pkg archive

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

Re: pbulk with manual steps

On Fri, Jan 01, 2016 at 01:13:37PM +0100, Havard Eidnes wrote:
> Well, than pbulk's share/examples/pbulk/pbulk.conf gives
> misleading information, because it says:
> # The following programs must NOT be inside ${prefix}
> pkg_info=/usr/pbulk/sbin/pkg_info
> pkg_add=/usr/pbulk/sbin/pkg_add
> pkg_delete=/usr/pbulk/sbin/pkg_delete

It's not misleading. The comment is absolutely right -- the existance of
the programs (at the very least $pkg_info) is required, even when a
potential bootstrapkit is not extracted.

> I see that when mk/pbulk/ is invoked with no arguments, it
> will create a bootstrap kit, and append a setting of bootstrapkit=
> to pbulk.conf.  Whether that's actually used is for me as an
> operator difficult to tell from the log file produced by bulkbuild.

It is used if it is referenced by pbulk.conf. I don't remember right now
that version of pkg_install is in netbsd-6 to know if a bootstrap kit is
the best option even on NetBSD for that branch. It is currently not
needed or useful for netbsd-7 and -current.


Home | Main Index | Thread Index | Old Index