From nobody Wed Jul 28 17:32:03 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 C00DD12A9070 for ; Wed, 28 Jul 2021 17:32:10 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 4GZghR4nFFz3sGJ; Wed, 28 Jul 2021 17:32:06 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493529; 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=4BzjYB+KASivOysDTnNMtxtYw8EQa4KSKu6uGUZNSbU=; b=DgZf0WM3rnz09MrLUCaAujKejAzb1sr7iqHicd6QVoGSWPTpUcGX5PbFHi6TteBZtyYhpB xaZfbErlZ9KbtFIeCnVX9KJiLUo5dSfeDixzP78dlb3aA1QgaGhlvLkGUGtQx8IWL8fJMC KF3FKLhusB/bexuYrhmGqLzW8vliknOJjvjkmMDTmgWMXWf84d5XJwiSKLLtyem4HSMeNx YU6c2JakJaVLj7R05xZRbljPcEsa9eQ9kvO+yGEkW3ii0YzrVV2kVdcLYTDRTEvPlgr+mL NpI7J6crSDgVUCzyuHPtwMuQ0hbfUTqjEWpoHAhfOXLMGUtleyEMsMaxuI8T+w== 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 E08CE16C42; Wed, 28 Jul 2021 17:32:05 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 28 Jul 2021 17:32:03 +0000 From: Glen Barber To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-ID: <20210728173203.GK1648@FreeBSD.org> References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> 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="FnOKg9Ah4tDwTfQS" Content-Disposition: inline In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493529; 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=4BzjYB+KASivOysDTnNMtxtYw8EQa4KSKu6uGUZNSbU=; b=ZP1gQ2amG+QZjSzBVYRE/+FEwR0B8DRY79OJHyik9hDKKLcHiPqqjd3d4CLqx//zJlOQLA Nna40pB1qM5pp0vR4kowSq7F+iIlShbsE1Ftu5x3xH5lP+Nct+ixHCH01WssjZnk5pw5LJ zWdSMPQi1A6i7ZnCj3mfA/dPhbJr9d1bO1RkHGqNoLJzpgHA26yV2D5d5HLuXWCQSO4Syk rxLc2vnd1KRqy3yDy+0Zfkc+/89WAAN1OccdJ+zEBt8HCcw7nuF8AovEA3OaKoye+DOymr fpyT/kUPwcFviuYWdw7wEkUWQSfyDlBzsV23eD1/CB0JWG2QTm+N47QziLn/Yg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1627493529; a=rsa-sha256; cv=none; b=wKHnh40XaEzpvrpicpYnULCnzm/t+O1CTceT3FbC0GwPsf8zLngyVNT7Xmaq0dmueWxwbx sS26qOSDX688TakI9gkt0ppxeyveOG5vSd6iZX8istEWaMB0EB77/825JHSP2sLqsMjnAA Fy4K0Nj20RH0sV3J5ahUhDQ5JIbIJBebt8e0YGCoumE3XlM6NGZgxSXZOCGTdrc/2ENWCF L0oppXxudxQ0KXulPEmQUI+lmVnfTy2/zb80JvGs7XMsPCvlCB/3hDy0HVFEFp3PaWyjXy 2v9pjxV0ysVls8PLLL5+SotiadKFnt/AzGcDPFLf5JcDNsKI0EiVfVIZ/nQPcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --FnOKg9Ah4tDwTfQS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 11:30:44AM -0600, Alan Somers wrote: > On Wed, Jul 28, 2021 at 11:28 AM Glen Barber wrote: >=20 > > 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 > > see is > > > > that: > > > > > > > > * release.sh does pass both kernels in the KERNCONF variable to "ma= ke > > > > buildkernel" > > > > * "make buildkernel" dutifully builds both > > > > * BUT, "make installkernel" only installs the first kernel and igno= res > > 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. > > > > > > > > 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? > > > > > > > > > > https://github.com/freebsd/freebsd-src/blob/7045b1603bdf054145dd958a4ac= c17b410fb62a0/release/release.conf.sample#L32 > > > > > > > > > > Last I was aware, based on a patch sent to me privately, I believe, it > > > should work. > > > > > > Let me take a look. > > > > > > > Oh, wait. Are you using 'make release' or release/release.sh? > > >=20 > I'm using release.sh. I thought that was just a wrapper for "make > release". It is, I just want to make sure I'm looking in the right place(s). Glen --FnOKg9Ah4tDwTfQS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmEBlJMACgkQAxRYpUeP 4pNRvhAAgpfnbJCPmBn1PzwE2hxIzG7iGpSfqjN2oQp8QZiY+Ce5YZUD6ZK7R7o8 J9fcnU2e4Mkstflh+h6ckeA+Px2U6cx2x7a0aOKB6Dof+5g0NyHNUKYVqULggQ5r m3v66+Cnj1sYNNTjSF0K60oR5ySvFpcojNi/pk8TbSWp83m0zDgZ60nlvCXGYv0t w+rn6PHkMqzuARVbz4npFlLm6hU/GUCA+zHiX5tnXnNKL4XFHT7rt64lyMhuCL5R xyVxgZn3Kse5scn3uAOaVu+s2Y0R0kO/9ClKFNc1PEw0cjIZrWt9T6GAH13A7tec kUfTP5YA1HLurEL3TYfSoaEg4g32EWq2jzjpy7LYQsELVj0+ojUv6jeAaQHlk676 V9vxPJDIIFbdm+wuLgkZ+ZaqSEACmq73XGdaCWES4fjnAA23CS08gXAB/2nozams C4a42cxmNS0ePVptiWi8w6lNBnQArhxjDc/5MCSB/qh2u69G6FgWMkVWpgc0WXFs PlhLp40+iHG9B4Puk7LcSN58Xi1Y0J4yb6E0Bw2cVpHZcwpyK7uNLJv1eoF8GFuU cDkLMX/nqqlGuZvHadutqHDxQ4iz5h8O/WGwhmUkN0iLviCIZKTVMlTALDMbaujm vg6uS12cgc2OZ3gjkz7PILTn6EpmR4Y0OFtzZ7t9ULc7L48VKJU= =qu8A -----END PGP SIGNATURE----- --FnOKg9Ah4tDwTfQS--