Date: Wed, 28 Jul 2021 17:28:30 +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: <20210728172830.GJ1648@FreeBSD.org> In-Reply-To: <20210728172650.GI1648@FreeBSD.org> References: <CAOtMX2jb1nEJCbo=5he5=oa1vjs_6T_BZZQfNQKVNX3AxbNCqw@mail.gmail.com> <20210728172650.GI1648@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--5mZBmBd1ZkdwT1ny Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 05:26:50PM +0000, Glen Barber wrote: > 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 se= e 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/7045b1603bdf054145dd958a4ac= c17b410fb62a0/release/release.conf.sample#L32 > >=20 >=20 > Last I was aware, based on a patch sent to me privately, I believe, it > should work. >=20 > Let me take a look. >=20 Oh, wait. Are you using 'make release' or release/release.sh? Glen --5mZBmBd1ZkdwT1ny Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmEBk74ACgkQAxRYpUeP 4pMG1A/+I4wRRMOMztuS3C65czvXIyZf+IqqLQTN5dhVz5vfoV3jvueJ9g4TV41/ ICVhqwfWds1IflLc+Q8sXd6DZAlUMzLYv0X/vN9mylVtAos2cYW85DByA9LqHXfx hEhS6NMf2KaQ3tCnN6t8iGy/7Pc9isuhspAJbuh2tm+EREw69BVWWut3I10Sg0gi FS826st3yQqCDYifeeoCcoOdghmaT50w0oDl0m0pFRB8LnELiGMwM/2HcYTmE8h/ 2RYNnd8VCUyFLVWpnHO9voPzxaab0HMdHqy7bLI4Ttzd6t2SiqqqtFVgZK2Zikmq Q0aCoikBtS1/HQboiHMaSUuVH1DCSKYkJT0yxpw6/EGZGpi0+IJN7Rj3BWYBjPfp HRVhlwjPaKTNrQjTVVdcEBvTRzTLDgxu5suGrGQoZY4VSAG9kEtdaeXeeHuvIaQs Jmg8SV9OtvanKMWxXlmmU41p9G+rloS1tI0FB6bbMGXeFdUsyov1/dP5AK1Wk8GG rN8pce+SqjCi0649QdXg2A9hFOUlvp6AJs9jK7mf+I02gUu54KR7gvt3zBpIxac3 MtSzCt1sCjFfD7gZZpf9GpfmOgFyUg3OEhZgXfNVNgDtv6Z0ukr9SpQNPXSFyfHt y2iddtaE32PMZzCezEP/t7zKYNAJl46MESceqZ1TxcguHqMc+bA= =vG7H -----END PGP SIGNATURE----- --5mZBmBd1ZkdwT1ny--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210728172830.GJ1648>