Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2016 13:32:10 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        Trond =?iso-8859-1?Q?Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: Multiple kernels installed when KERNCONF lists more than one kernel configuration file
Message-ID:  <20160106133210.GE26378@FreeBSD.org>
In-Reply-To: <20160106132833.GD26378@FreeBSD.org>
References:  <alpine.BSF.2.20.1601061322110.65744@mail.fig.ol.no> <20160106132833.GD26378@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--6Vw0j8UKbyX0bfpA
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 06, 2016 at 01:28:33PM +0000, Glen Barber wrote:
> On Wed, Jan 06, 2016 at 01:45:39PM +0100, Trond Endrest=F8l wrote:
> > Hi,
> >=20
> > I'm running stable/10, amd64, r293231, and KERNCONF in /etc/src.conf=20
> > lists three kernel configuration files, E5530, GENERIC, and ZFS, in=20
> > that order.
> >=20
> > The former is the preferred kernel, while the other two simply exists=
=20
> > to verify GENERIC and GENERIC + ZFS.
> >=20
> > /boot is a symlink to /bootpool/boot, and /bootpool is a 4 GiB UFS,=20
> > yes, that's UFS, not ZFS.
> >=20
> > This system uses EFI, and uses the EFI/UFS boot1.efi bootstrap loader=
=20
> > to load the kernel and its modules from the UFS partition, while=20
> > loader.conf redirects the rootfs to a dataset on the ZFS pool.
> >=20
> > Consequently, I have:
> >=20
> > /boot/kernel         <-- E5530
> > /boot/kernel.GENERIC <-- GENERIC
> > /boot/kernel.ZFS     <-- ZFS
> >=20
> > UPDATING has nothing on the subject, but maybe I'm blind after all.
> >=20
> > Is there a way to prevent installing the other kernels, i.e. GENERIC=20
> > and ZFS?
> >=20
> > Maybe it's simply a matter of overriding KERNCONF at the command line=
=20
> > while running make installkernel.
> >=20
>=20
> You should be able to set INSTALLKERNEL in make.conf, however something
> appears to have been broken, since this should not be required.
>=20

Sorry, I didn't see r293189 until just now, I was in the wrong directory
when I updated my local sources.

It seems we need a way to override this behavior, if the above
suggestion does not work properly.

Glen


--6Vw0j8UKbyX0bfpA
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWjRdaAAoJEAMUWKVHj+KTdt4QAJOULr6SCp1+AhKifGqppT8i
fNbbaGLidPmMbyVfjb3EaaJujWaI/JurV6W5iQf2EM5PhdnjmbKMfU2tyE1muRc0
yYPVPPBOPuV+GHZb6+TAtCpUjqUe2i5CpbDAnF4WB8o35MNeYH92RC2QQt+9Mgk/
UBftdcQKfFcUxyabG2q19RL/PRVllP1PPmzd17f4hAokXwnPN7PdXWkW4LsRol79
v4kmo9Q2tCCJbiy7oniWDZ/aZR/hDjujUTKlSagk8YJoLBSAH9ZHxwVZk/qprf6t
KyXwwBcfKd2Rn8SeF2p5DMbxD/007JRQbuEqcbkRVQzJfLAVWb/wgf6o89m7ACWn
LEFYR9R2YTEgD2lcK3jADbCPBV8FMHkSlRkT7TlvnENCovOHxs87hnqsPPL/p3w/
IQmpb4AlDtmaTinoqulEg4fy9nMLEzuoyORdX1iJJeC23oraKEHJ3xTNyLkIHndS
mE9SHHfNUWPflxdcdNhXksEh3IWrpSstf4Bn3UIM00EwmqOQ/rIClKD1UzpDG4PL
aXRhheZXJ7wxVIfLyEJicYb7boeSCVeybs57n3XXH6saWUBugbBP63j4V8kmeQMT
iwSZjxjUgud+jrXyw9SKcmkOuC6QXHTZWOvbEMkFoyumu1vk57H6wl+KdbqwWCuP
7SUUQweLETPIllZ5HrN2
=z2hn
-----END PGP SIGNATURE-----

--6Vw0j8UKbyX0bfpA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160106133210.GE26378>