Glen Barber
2016-Jan-06 13:28 UTC
Multiple kernels installed when KERNCONF lists more than one kernel configuration file
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>
Glen Barber
2016-Jan-06 13:32 UTC
Multiple kernels installed when KERNCONF lists more than one kernel configuration file
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?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. >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 -------------- 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/729f9640/attachment.sig>