This revision includes all the necessary changes and new ports required to start building and using base packages for FreeBSD.
It includes some of the following features which were discussed at BSDCan 2019's working group:
https://wiki.freebsd.org/DevSummit/201905/PackageBase
- Roughly a dozen "base packages"
- FreeBSD /usr/src available as a package
- Flavors Support
- Broken out "bootstrap" package which includes critical libs such as ld-elf, libc, libthr, libm, etc.
- A kernel "sentinel" file which will make sure ports-installed kmods are updated in lockstep with os/kernel. (Super important for sysutils/zol and others that load at bootup)
Usage:
Step one, ensure you have sources checked out to /usr/src, or else have ${BASEPKG_SRCDIR} set to the location of sources you wish to build.
Step two, build the the ports / packages
Step three, profit
If using poudriere, apply to this patch to your ports tree. Run "bulk" as usual and the os/* packages will be automatically built using the jails /usr/src sources.