tech-pkg archive

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

Re: Bulk builds do not run on NetBSD 9.2

On Tue, Aug 10, 2021 at 08:31:00AM -0400, Greg Troxel wrote:
> I am not sure if you are serious.

I am totaly serious, but I think you misunderstood what I tried to
say (and I did not use exact language).

> As I see it pkgsrc decided to change the standard location for pkgdb.
> So while it's possible now, as it was before, for any individual person
> to change all manner of deafult settings, it's nonstandard to have the
> db in /var/db/pkg.

All totally agreed.

I see it from a higher level view: the pkg installation on other systems
comes (hardcoded) with the bootstrap kit. For NetBSD it does not, and that
is the gap we are falling into here.

It is not really the base systems job to get pkg defaults correct, and
effectively they do not need to be hardcoded at all - see pkg_add's -p
option, and also consider binary pkgs could be build with totally different
settings (like another PREFIX) and still work fine - all that would be
needed is a few config changes *before* installing the first binary pkgs.

And that rings a bell, as we still have the open item of distributing
certificates with each binary repo to be able to setup signed pkg
verification - this also needs to happen before the first bin pkg is

So how about a "bin-pkg-config.tgz" at the top of each binary pkgs
repo with well defined structure and all this needed information in there?

This is only needed for NetBSD, as bootstrap kits carry it automatically.


Home | Main Index | Thread Index | Old Index