[Bug 294729] pkgbase ${SRC}/release/release.sh with custom KERNEL results in pkgbase-stage.lua assertion failed!

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 May 2026 23:33:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294729

--- Comment #8 from Alan Somers <asomers@FreeBSD.org> ---
A closely related problem is that it's currently impossible to create CD or DVD
images containing multiple kernels.  For example, if you set KERNEL="GENERIC
GENERIC-DEBUG" in release.conf and make.conf, then release.sh will build both
kernels correctly.  But pkgbase-stage.lua will only fetch the GENERIC kernel
into the cd image.  There's currently no way to tell pkgbase-stage.lua to
install the extra kernel, too.  I see a few options:

* Hack pkgbase-stage.lua to manually add the extra package name to "packages",
near the bottom of the file.

* Hack pkgbase-stage.lua to add one or more additional components.

* Modify src to include the extra package name as a dependency of
FreeBSD-set-kernels, though I'm not sure how.

-- 
You are receiving this mail because:
You are on the CC list for the bug.