From owner-freebsd-current@freebsd.org Mon May 9 18:50:14 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15F22B342A3 for ; Mon, 9 May 2016 18:50:14 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 050DA128D; Mon, 9 May 2016 18:50:14 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id A4BC31304; Mon, 9 May 2016 18:50:13 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Mon, 9 May 2016 18:50:12 +0000 From: Glen Barber To: Freddie Cash Cc: Ultima , John Baldwin , FreeBSD-Current Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase Message-ID: <20160509185012.GL47527@FreeBSD.org> References: <20160507135005.GN62286@albert.catwhisker.org> <3382220.3AgOZzUBmF@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NZiXfHLGvOGtDZMn" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 18:50:14 -0000 --NZiXfHLGvOGtDZMn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 09, 2016 at 11:46:02AM -0700, Freddie Cash wrote: > On Mon, May 9, 2016 at 11:40 AM, Ultima wrote: >=20 > > If multiple kernels are being installed like this, eg KERNCONF=3D"FOO B= AR", > > which of the two would be default during boot? FOO because it came firs= t? >=20 >=20 > Correct. At least, that's the way it's worked in the past, and something > I've used quite a bit on FreeBSD 7-9. I always have GENERIC and a custom > kernel listed in KERNCONF, with my custom kernel listed first. > KERNCONF=3D"FIREWALL GENERIC" for exmaple. That way, my custom kernel is > installed as /boot/kernel, and GENERIC is installed as > /boot/kernel.GENERIC, which provides me with a fall-back in case I screw > something up with my custom kernel (happens frequently). :) >=20 > I used to do it manually using two separate installkernel steps using an > env var to specify the installation directory (/boot/GENERIC) (forget the > name of that var right now), but switched to using the automatic > installation behaviour when it became available. Simplified things a bit. >=20 > I haven't compiled a kernel on 10+ yet; hopefully the behaviour hasn't > changed. ;) It has not changed, and the same behavior will be present for 11.0 in that "whatever installkernel does, packaged base will follow the behavior." Glen --NZiXfHLGvOGtDZMn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXMNvgAAoJEAMUWKVHj+KTYoAP+wamzZoBzA7Oeahhtlb2z7c/ F8X+pun4eCBHXFQeqQE/QyLJTu0H511s7ZqjQY4uCfN1Go3IJAVIgKThrzSuW1gf nbUoaTE9+xt96be/mavo708LiBYL/JuWrIQiikjI2Gsg/QRrPr1oe5HvreZoOv5p dqcgr6pQWlpuJ6AeqI7mEjwxo0xiU7qtKmz6En+WsWsNMTo/LtYkcxm20oGrVgyQ yeQvKRM12No+RZcQKBhJsrYeTcJ2VxipaNSetDR6otypotj019MX+z/m171siIok wf9IcjSUdL5EvEVrCY+y4H/Q6AFCIO2JtWiBEwMWETERzzpdk4NJwL5Z3dAzs7A+ oDylx1yMCEVhqisjmd/N9ed2zayLKpvqJ9b0EAr7WZinAxJRZ5T4gntKOnAVLofr B8OJgntoB0kDThurYnvh51ekIe9Ibk0fxOTWOGY1hLx3NFjCazg8XYU4gkFO+XsW sDOfP233cu6AQvPWAB6znng9MuFXSJujd95kaUXYgzEUIq7GNJYD4WlOvHlqZM96 xZ3FAESG3OtTqg7K9oeAusQv2ykmSVT8T0j0/moZ1ghA7HPqD94eqmx2twq0EL9K 7NI05h4lCvniJGAsWpv6jR4mP/a2fnwF+uC9E7vhYyBEFodS8rMa0u5Eco/QToS+ D0k7pZPzyTswtSizQfZh =K7bg -----END PGP SIGNATURE----- --NZiXfHLGvOGtDZMn--