Re: pkgbase and customised builds via ${SRC}/release/release.sh

From: Lexi Winter <ivy_at_freebsd.org>
Date: Tue, 23 Dec 2025 10:38:50 UTC
Alastair Hogge wrote in <20fb908c0954e62977dffdcd4a883678@riseup.net>:
> pkg: Unable to open plist file:
> /usr/obj/usr/src/amd64.amd64/kernelstage/kernel/kernel.FAFNIR-dbg.plist
>[...] 
> What is the method for using release.sh to custom build a pkgbase, that
> also supports tarballs, and install images?

as far as i'm aware, we don't support building a pkgbase release with
a kernel other than GENERIC.  even if the build succeeded, you wouldn't
be able to install using the resulting media since bsdinstall only knows
how to install GENERIC.

my suggestion for now would be to build the release media with GENERIC,
then put the custom kernels in your base repository and install them
after booting with GENERIC.

this is definitely something we want to fix in the future, it just
wasn't critical enough to make the 15.0 release.  i have a couple
of other release things i want to fix first, then i'll see about
fixing this, since i also want custom kernels on install media.