Multiple kernels installed when KERNCONF lists more than one kernel configuration file
Glen Barber
gjb at FreeBSD.org
Wed Jan 6 13:28:35 UTC 2016
On Wed, Jan 06, 2016 at 01:45:39PM +0100, Trond Endrestøl wrote:
> Hi,
>
> I'm running stable/10, amd64, r293231, and KERNCONF in /etc/src.conf
> lists three kernel configuration files, E5530, GENERIC, and ZFS, in
> that order.
>
> The former is the preferred kernel, while the other two simply exists
> to verify GENERIC and GENERIC + ZFS.
>
> /boot is a symlink to /bootpool/boot, and /bootpool is a 4 GiB UFS,
> yes, that's UFS, not ZFS.
>
> This system uses EFI, and uses the EFI/UFS boot1.efi bootstrap loader
> to load the kernel and its modules from the UFS partition, while
> loader.conf redirects the rootfs to a dataset on the ZFS pool.
>
> Consequently, I have:
>
> /boot/kernel <-- E5530
> /boot/kernel.GENERIC <-- GENERIC
> /boot/kernel.ZFS <-- ZFS
>
> UPDATING has nothing on the subject, but maybe I'm blind after all.
>
> Is there a way to prevent installing the other kernels, i.e. GENERIC
> and ZFS?
>
> Maybe it's simply a matter of overriding KERNCONF at the command line
> while running make installkernel.
>
You should be able to set INSTALLKERNEL in make.conf, however something
appears to have been broken, since this should not be required.
Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20160106/0e9802ff/attachment.sig>
More information about the freebsd-stable
mailing list