From nobody Wed Jul 28 17:28:30 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 D11DF127D371 for ; Wed, 28 Jul 2021 17:28:32 +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 4GZgcJ5WP4z3p1k; Wed, 28 Jul 2021 17:28:32 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493312; 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=U/FeixJpwjV1cqMLur3hYAoHUPmhbBplFIInjkifnt8=; b=ZKxpqaV4EEgQKGitZsJsN0IGBi/H1K0ApOGg6ClCK0JWxIrhF7ulXOSTkvplii3enohG4k xkIlYpoK4qL6se5HhTx/fE9vCIPpN2LR47Jp+C/vDklZlkyMW6ACttB/Jn7LESbp34snm1 RgvcxtjF6Gq+nj5kUbb+Hy9n4iJ/tA4wzMqQoVZ81djDpQbNiQzSVGQgS+A7bfxlWQ6ohG N3i6BU9ts0hZyKYKqXROLICXck4rOmF0qAhXxfnE/tSbePHumSiVJf96jo12KS1cH0it4v muRgcxa6KtNXc2lbNhwKlDMTfUfy158jlMLneISjt36/8N9CvGs1d4Zx5fh0pA== 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 5D77116C36; Wed, 28 Jul 2021 17:28:32 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 28 Jul 2021 17:28:30 +0000 From: Glen Barber To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: Building multiple kernels with "make release" Message-ID: <20210728172830.GJ1648@FreeBSD.org> References: <20210728172650.GI1648@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="5mZBmBd1ZkdwT1ny" Content-Disposition: inline In-Reply-To: <20210728172650.GI1648@FreeBSD.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1627493312; 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=U/FeixJpwjV1cqMLur3hYAoHUPmhbBplFIInjkifnt8=; b=yt4UegUj967W4T2RJxc4HO0kTPDQKXuJwl+PU7nFex380ttohkkfhoMIgPjDSCNiaVLXjy EjuL8gpaduBFnq+q+hElttvS7eMCe7/f1rqebEsvMQQnmpG+vhFLJe2p9nCf1fUuTEZUhI +bIE39A1vuJAwScFEHZRE7KMBJUnlgjBf0GgQbBBPKmj2TzyqLre7xixAfyilQpLG+m9Ec GF6jKIAT/Tix4hJLU1SOtEVp+3jA6aX466f0H3Bxsg390kSBe/y7mVnmvB7CFqv946BL7o kY1Ed0zw/yOkf4FhBWLY2FOt7/BiuHa7fwoaAKtnHFuXDTcOo+k4+db973nLtQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1627493312; a=rsa-sha256; cv=none; b=HufOuPqB2lWDE55M5O9kLBYM3VK29dpPDZV/6fdTmrJKuMPRi/xHFNzcUw5Jo4LbA24w1n b6Rvrx6UeoD+EexxUoXRC9h9AkaYnuhyl1NKiiqxbnPmGrFrYglhKTErFjk1k8C19PJ1D6 T5G1/hDcZzae2vwZfU8Y00XoEJYpouM+CAGFJ3mZQFd32X11/Qi2b8+GG3ZeNpmfJ7sJHx mC7AJfCpf8A79CuCwGotwY7hEpGdDGo54Z3cp2mmcwX7zRWuzB7EICRAR4eIhUfujPXmOn FUARpOpoD6RZxpewxWhS6Xi/UXM6APEVpxM2V0DZa/16PiW7pdwVGG9BHm8ECA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --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--