Attempting to convert -CURRENT host to pkgbase, fails on none-existent kernel config.
Date: Fri, 14 Aug 2026 06:31:00 UTC
I am attempting to convert my build host/NAS to pkgbase. In the host's
make.conf I have:
KERNCONF= FAFNIR FAFNIR-DEBUG GENERIC GENERIC-NODEBUG
During the "make packages" phase, it fails because it cannot find
DIREWOLF_DEBUG in /sys/amd64/conf.
Why does the build search for that? DIREWOLF exists (DIREWOLF_DEBUG does
not, DIREWOLF-DEBUG does), but it is for a different host, with
different build options. The other kernel packages and src exist in
${MAKEOBJDIRPREFIX}/usr/src/repo/FreeBSD:16:amd64/16.snap20260814060111.
I am doing the following:
cd ${SRC}
make MAKEOBJDIRPREFIX=/tmp/fafnir make -j64 buildworld
make MAKEOBJDIRPREFIX=/tmp/fafnir make -j64 buildkernel
make MAKEOBJDIRPREFIX=/tmp/fafnir make -j1 packages
Is this correct?