Re: disallowing 'make installworld' with pkgbase

From: Lexi Winter <ivy_at_freebsd.org>
Date: Tue, 07 Oct 2025 01:06:52 UTC
Cy Schubert wrote in <20251006221544.613E19E@slippy.cwsent.com>:
> How would one go about installing a new system from ISO. Then proceed to 
> maintain it using installworld if the only supported new install is pkgbase?
 
in 15.0, just select dist sets for the installation.  if you want to do
an offline install, you need dvd1 for that, since disc1 only has pkgbase.

once dist sets are removed, you can install with pkgbase, then remove
/var/db/pkg after installation.  there may be an option to do that in
the installer, or there might be some sort of post-install depkgbasify
step, that hasn't really been decided since we don't need it yet.

also, it's fairly trivial to produce dist sets from a pkgbase repository,
so we might add a make target to do that for people who want dist sets
for custom install situations.

> Second question: How would one go about converting an existing system to 
> pkgbase?

migrating to pkgbase will involve running pkgbasify[0] in some manner.
i'm not sure on the details since i haven't been involved in that.

[0] https://github.com/FreeBSDFoundation/pkgbasify