Re: Building multiple kernels with "make release"

From: Glen Barber <gjb_at_freebsd.org>
Date: Wed, 28 Jul 2021 18:57:34 UTC
On Wed, Jul 28, 2021 at 08:46:19PM +0200, Juraj Lutter wrote:
> 
> 
> > On 28 Jul 2021, at 20:37, Glen Barber <gjb@freebsd.org> wrote:
> > 
> > On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote:
> >> On Wed, Jul 28, 2021 at 11:57 AM Glen Barber <gjb@freebsd.org> wrote:
> >>> Just on a hunch, could you try with adding INSTALLKERNEL="${KERNEL}" to
> >>> your release.conf?
> >>> 
> >>> I now seem to recall some weirdness with this, but the exact details
> >>> elude me at the moment.
> >>> 
> >> 
> >> Setting INSTALLKERNEL="GENERIC-NODEBUG"  during "make installkernel"
> >> overrides whatever KERNCONF was set to.  But it still only installs one
> >> kernel.  Trying to set that variable to a list doesn't work.
> > 
> > Ok.  Give me a day or so to try to figure out what is (or isn't)
> > happening here.  I do not recall any recent-ish changes that would have
> > caused this, and I am 95% certain it has worked in the past.
> 
> According to Makefile.inc1:
> 
> make installkernel KERNCONF=“KERN1 KERN2”
> 
> should install KERN1 and KERN2. Similar goes for buildkernel.
> 
> Or is there something I am missing?
> 

Nope, I think you found what is missing.  I'll test changes to
release.sh tomorrow after tonight's snapshot builds are done.

Thank you for the hint.

Glen