Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2021 17:26:50 +0000
From:      Glen Barber <gjb@freebsd.org>
To:        Alan Somers <asomers@freebsd.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: Building multiple kernels with "make release"
Message-ID:  <20210728172650.GI1648@FreeBSD.org>
In-Reply-To: <CAOtMX2jb1nEJCbo=5he5=oa1vjs_6T_BZZQfNQKVNX3AxbNCqw@mail.gmail.com>
References:  <CAOtMX2jb1nEJCbo=5he5=oa1vjs_6T_BZZQfNQKVNX3AxbNCqw@mail.gmail.com>

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

--JsihDCElWRmQcbOr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 28, 2021 at 11:11:48AM -0600, 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:
>=20
> * release.sh 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.
> Probably someplace like /boot/kernel.debug , but release.conf doesn't
> provide a way to specify that.
>=20
> 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?
>=20
> https://github.com/freebsd/freebsd-src/blob/7045b1603bdf054145dd958a4acc1=
7b410fb62a0/release/release.conf.sample#L32
>=20

Last I was aware, based on a patch sent to me privately, I believe, it
should work.

Let me take a look.

Glen


--JsihDCElWRmQcbOr
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmEBk1UACgkQAxRYpUeP
4pP+/BAAkwgb/QhTjdKTLeXf9UXj9Oq5efEZTjwfXDoCYOnYTJdRrAcsNjZvqqkn
SeVWAnZbqotRncW3RhVSlhnyQa948xcM6NmrD141nDczLipLxjpedOFm6R3gGqC5
6n9Yzv/kiEwe6Lu4aerNESUWPFkAPjp1fCHMExOmuuhN6s8Fzumc7RWwSekUWk0j
HFZrQ3MtdpAF32H6LW2vUiavhpGV/OBg7UZaCHTy84h769/a4XJ8lNh0+TbrANEJ
gV0iDw9mB1Dg7lsO7GHNIUFdkD6H4FDlwdUEJs3Y7pqk4PEiqtAMhEzvQ0MMJd2K
AP6r2+m0DcWvkkOrcrxjlgnYOE9FCX/JpHToHmm9jSGD/0E6wtz0AT3abWhFqgxl
LWdDZ+wSjoSoqwHEF4KL8FMh0Aut7bjnneBLHH+/AVB4T0CsBxP5izjCbcv61bER
veBKQLloTwTXAm9fI1Ukmr9byvvIyXcQ6tZuDrCBkYrXYMIQJQjoQx6Se/EypolR
2Sj3x/ijSePJJdr8L0YelS0h/4g1Ckwq23avZRkZGwcptJxXgUc3QlemiQjTem44
K2NCPgqqFGIj4FbHKisAkhMk/JxLS7IuToQwsS30elelobIo/I8DEmv9I25CDLat
/200F4zW/XEs4a6dGYNbu5H/IaMPTadrghwF66tqcddMi63bto8=
=Bunr
-----END PGP SIGNATURE-----

--JsihDCElWRmQcbOr--



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