Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2025 16:36:25 +0300
From:      Anthony Pankov <anthony.pankov@yahoo.com>
To:        Lexi Winter <ivy@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: multiple kernels with the same world
Message-ID:  <1638683952.20251014163625@yahoo.com>
In-Reply-To: <aO4TYzABsCeWqbEW@amaryllis.le-fay.org>
References:  <575313120.20251014120303.ref@yahoo.com> <575313120.20251014120303@yahoo.com>  <aO4TYzABsCeWqbEW@amaryllis.le-fay.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Tuesday, October 14, 2025, 12:09:55 PM, you wrote:

> Anthony Pankov wrote in <575313120.20251014120303@yahoo.com>:
>> I wander can I build multiple kernel from the same sources while using
>> once builded world?
>> 
>> My aim is to have basepkgs containing different kernels. It would be
>> nice to have FreeBSD-kernel-general-*.pkg,
>> FreeBSD-kernel-virtualmachine-*.pkg etc. in the same base package
>> repository.

> % make KERNCONF='GENERIC FOO BAR BAZ' buildworld buildkernel update-packages

> the first kernel listed in KERNCONF will be installed in /boot/kernel,
> the rest will be installed in /boot/kernel.NAME.  for consistency, i
> prefer to always build GENERIC as the first kernel, but there's no
> actual requirement to do that.

It's amazing. I'll try.

Thank you!

-- 
Best regards,
Anthony




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1638683952.20251014163625>