- packagekernel only works if INSTKERNNAME isn't specified in src.conf/make.conf - packagekernel only works with a single KERNCONF (KERNCONF can consist of multiple values). Please extend packagekernel to support multiple kernconfs/INSTKERNNAME so we could build release media with multiple kernels and people can select them from a list/from the bootloader.
The 'packagekernel' target works fine, and INSTKERNNAME is not needed in src.conf or make.conf. Try: # make KERNCONF="GENERIC DEBUG" packagekernel The selection from loader(8) is orthogonal to this, as the values need to be set in loader.conf(5), which is an entirely different bug.
One of issue that the first kernel packaged is kernel.tgz We added a flag to force all the packaged kernels .if !defined(NO_INSTALLKERNEL) into the path that always adds the kernel config name to the tarball. kernel.${_kernel}.txz Basically so it is clear which config was used to build the kernel.