Re: changing from pkgbase to regularbase

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Wed, 19 Nov 2025 16:36:52 UTC
Van: Michael Gmelin <grembo@freebsd.org>
Datum: 19 november 2025 17:25
Aan: void <void@f-m.fm>
CC: freebsd-current@freebsd.org
Onderwerp: Re: changing from pkgbase to regularbase

> 
> 
> 
> 
> On Wed, 19 Nov 2025 16:14:27 +0000
> void  wrote:
> 
> > On Wed, Nov 19, 2025 at 03:14:28PM +0000, Minsoo Choo wrote:
> > 
> > >Thanks for your effort!
> > >
> > >Since DESTDIR has been around for some time, I think the related
> > >logic was accidentally removed while adopting pkgbase. This won't
> > >take too much effort (just set DESTDIR to / if it is not specified),
> > >and I don't need other information for now.  
> > 
> > I think I've found the reason for this
> > in https://reviews.freebsd.org/D52879 which I didn't see before.
> > 
> > There should be IMO a setting or a sysctl or something like 
> > pkgbase.enabled=0 though (my own perspective as a user)
> 
> What is the procedure to run a custom kernel with pkgbase? In the
> last couple of years we needed stability patches (pf, zfs, etc.) on
> almost every second release (at least temporarily, until an errata was
> created).
> 
> Would we need to run our own pkgbase server in this case or is there
> another (non-hacky) way?
> 
> -m
> 
> -- 
> Michael Gmelin
> 
> 
> 
> 
> 


Instead of make installworld you can do something like make packages to build your own packages.

NB: I don’t know the exact syntax from the top of my head.
NB2: Poudriere can probably also do this for you and integrate as a local pkg repo.

Regards,
Ronald.