Re: Is the base set of packages everything, or not?

From: Lexi Winter <ivy_at_freebsd.org>
Date: Fri, 19 Sep 2025 18:06:49 UTC
Graham Perrin wrote in <0814dcd1-e662-4e94-9ac0-ce1cc2fab833@gmail.com>:
> <https://github.com/freebsd/freebsd-src/blob/72924ce99c7f177db486bd2764a76bcf25892a17/usr.sbin/bsdinstall/scripts/pkgbase.in#L76-L87>
> line 82,
> 
> base is the complete base system.
> 
> <https://github.com/freebsd/freebsd-src/commit/561dc357c2f5892af3aa481a1020860b7ff473e0>,
> 
> > … by default select "base", "kernel-dbg" and any libcompat sets (e.g.,
> > lib32) if they're available. …

set-base is supposed to be equivalent to the "base.txz" set, which is
the base system excluding src, tests, lib32, kernels and debug symbols.
so it's not really "the complete base system", but it is the complete
base system in the sense that it includes all the software we ship, just
not the ancillary bits.

> Are kernel-dbg and the libcompat sets additional to, or included within,
> base (the complete base system)?

those are separate components and set-base does not install them.

i've just created https://reviews.freebsd.org/D52621 which will mean
set-base no longer includes the compilers and toolchain.  this might
be a good time to either rename set-base to something else, or else
add a new set with the meaning of "everything except toolchain".

if you have any suggestions for the names and/or descriptions of these
sets, any input would be appreciate, because it's proving quite
difficult to come up with succinct values for that.