Is there a way to build FreeBSD releases with ports modules integrated?

My ultimate goal is to run my own freebsd-update server so I can both track CURRENT and have my base system compiled for x86-64-v4 without having to build it on my laptop (like I already do for my packages via a poudriere server), but naturally I want my graphics to work. I was hoping to build FreeBSD releases with graphics/drm-kmod built into the release. I've found a couple settings that look related, namely PORTS_MODULES and EMBEDDEDPORTS. When I set PORTS_MODULES I can see that in the console output that it is compiling the port, but when I run a `tar -t` on the release's tarballs and grep for "915" to look for the intel graphics driver kernel module, I do not find any results. Similarly, I had no luck with EMBEDDEDPORTS which doesn't seem to even compile the port. I saw that poudriere can build releases with ports integrated into the release but I was hoping to do this with the normal build system. Is there any such mechanism to integrate ports into a FreeBSD release without poudriere?

Edit: This is the relevant portion of how I'm building a release (my full script is attached):
Bash:
make -C /usr/src buildworld buildkernel
make -C /usr/src/release obj
make -C /usr/src/release release
mkdir -p "$target_directory"
make -C /usr/src/release install DESTDIR="$target_directory"

The two above settings I put into /etc/src.conf
 

Attachments

Back
Top