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

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

--VsOh+jiq/CZr9HnJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Anthony Pankov wrote in <575313120.20251014120303@yahoo.com>:
> I wander can I build multiple kernel from the same sources while using
> once builded world?
>=20
> 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=3D'GENERIC FOO BAR BAZ' buildworld buildkernel update-packa=
ges

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.

--VsOh+jiq/CZr9HnJ
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaO4TYAAKCRD1nT63mIK/
YKo+APwOzHdWxF0I9ktTULLaENalzo0sBD00RsJYc4sbVmE3NQD+NBYGktL1X9bK
1Fbx56ZR3xx+l/IG3r+jU/Au3dqL3wA=
=p8Ks
-----END PGP SIGNATURE-----

--VsOh+jiq/CZr9HnJ--



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