From nobody Wed Jul 28 17:26:50 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4497E127C23D for ; Wed, 28 Jul 2021 17:26:53 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZgZP1KNXz3mnQ; Wed, 28 Jul 2021 17:26:53 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TlsmPmPxL1DWKhmcgOUuBJOW38NgIsHH809qux2BxXw=; b=evjfD2m+3N0wyaKDp46WzaKWjN+yWPJEjn9sfGuRS2xlYVPmT5l27JUyyk88p74kWU+Usi 0mN0Kf4zMFaqQjNZDCW9pCVeolPtb1M6ehipazs3C+/rK//UVsjrLvXaD1o5BGT6xOYDj3 zVQgYd3jELGNmhNvTeiEBTfni4OzLWWAAcnlM9RpddaB4zsFisLmjsoT87f/R7KkjSu4Rs sWeMQCImDfcJZHnFBoyMOx0h4jlbBK0O80sqxUcdB5ERg0xo97UJnVHay0f6iiLhinHBR+ f9tWjyQY0uBxMfUvcjrjrgRROuf9ObHAMOEOPSQLpfuhxG2w2BDz56rR9pMEwg== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id C083516ACA; Wed, 28 Jul 2021 17:26:52 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 28 Jul 2021 17:26:50 +0000 From: Glen Barber To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-ID: <20210728172650.GI1648@FreeBSD.org> References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="JsihDCElWRmQcbOr" Content-Disposition: inline In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TlsmPmPxL1DWKhmcgOUuBJOW38NgIsHH809qux2BxXw=; b=q3zuslmK+yzHmMY8d5mrQz8JQSEkQwS1siQeTPUHsUkhmiA9K9gG2M97Q/39GZo1c/PTEE zdNQr48Eu53c3uhhUlKmOLVWTKc6xhSl2uxeFClgzW1dXok5ML2d9QfdugqLoRydXnqfJ6 Ga+4WKKNltkj6cbcV5P6k0tJmTzcJfuaI8XCYQo7WHNWpE1TwzKtx3U+sW9keT0XEgXmAv Eokfy8Xvq11RVLaD4dWYzkx32tAFByicv8OCFNmaONk3zhtXlQ8ym2IqzdW6NeMhyNHkHi N1Z51oOvLVR6QAI3O2SHaLxrHxfyU/ohtu4/WBrMBgByYlL0MT9Y2s22kW2lMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1627493213; a=rsa-sha256; cv=none; b=UZ9QV6+SobLrnX1ESXVIDD558Oq3g2nrS2XBO0D6JZi4IR2o8adAgycQ64bUuQV16cXTPE 9Ly0ZQjnK1wLX/yfy2Gab8XuYSzyOV+T0AWloiHntTkq1+RRYphtUQ4WFSWFl+tXeUxuSo dth2F5Pw5upjsGVlmh/toNrDRoQnve4tqJ6f5VjCRsX/wc1d7XoYBofqVf3yPLtDuhFC7B 6BABDJ3J9t+/qMjECUF1jDcBvp04DURDH+vlUM8PpZftEVkcJjDPqwnY1tP6ARUyNa17Fu OiqftC3uK87EQYHanRU1g5CatRe8O8dspcetzSiPAMdgL4DTKX0X+nlJjnjwcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --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--