Re: Building multiple kernels with "make release"

From: Chris <>
Date: Thu, 29 Jul 2021 09:55:15 -0700
On 2021-07-28 10:11, Alan Somers wrote:
> Is it possible to build multiple different kernels and include them all in
> a release image?  release.conf says so.  But from experiment, what I see is
> that:
> * does pass both kernels in the KERNCONF variable to "make
> buildkernel"
> * "make buildkernel" dutifully builds both
> * BUT, "make installkernel" only installs the first kernel and ignores the
> rest
> * Only the first kernel ends up in the final image
> * It's not really clear where an alternate kernel should go, anyway.
For me, the way I've always accomplished this was via the DESTDIR keyword
for kernels. Probably not the most elegant, or maybe even the "correct"
way. But It's something figured out a good while ago and since it worked. I
continue to use it. Maybe it'll work for you.


> Probably someplace like /boot/kernel.debug , but release.conf doesn't
> provide a way to specify that.
> So is the "multiple kernels in release.conf" feature unfinished?  If so,
> does anybody have a good idea about the best way to finish it?
> -Alan

Received on Thu Jul 29 2021 - 16:55:15 UTC

Original text of this message