On Wed, Jan 06, 2016 at 06:07:24AM -0800, David Wolfskill wrote: > On Wed, Jan 06, 2016 at 01:43:22PM +0000, Glen Barber wrote: > > On Wed, Jan 06, 2016 at 05:40:15AM -0800, David Wolfskill wrote: > > > On Wed, Jan 06, 2016 at 01:32:10PM +0000, Glen Barber wrote: > > > > ... > > > > > > 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. > > > > .... > > > > > > Agreed. I'm happy to test -- I was a bit surprised to find unexpected > > > kernels being installed on my build machine's 2GB root file system (as > > > one of the unwanted installs failed for lack of space). > > > > > > > Can you try specifying 'KERNCONF=FOO' on the command line during > > installkernel, as Trond inquired about? I have an idea of a way to > > override this, but I want to talk with Gleb first. > > .... > > Sure; as expected, that's effective (in constraining the set f installed > kernels to the one): > > My /etc/src.conf reads: > freebeast(10.2-S)[1] cat /etc/src.conf > KERNCONF?=GENERIC ALBERT BATS > freebeast(10.2-S)[2] > > And historic (and expected) behavior is that kernels GENERIC, ALBERT, > and BATS would be built (in that sequence), but only the first (GENERIC, > in this case) would be installed. (I install the others on their > respective machines via processes on those machines -- where the > /etc/src.conf on each of those machines specifies which kernel gets > installed on it -- those machines don't (and can't) build.) > > Script started, output file is s3 > freebeast(10.2-S)[1] ls -ldT /boot/kernel* > drwxr-xr-x 2 root wheel 40960 Jan 6 04:41:43 2016 /boot/kernel > drwxr-xr-x 2 root wheel 40960 Jan 6 04:41:53 2016 /boot/kernel.ALBERT > drwxr-xr-x 2 root wheel 40960 Jan 6 04:42:03 2016 /boot/kernel.BATS > drwxr-xr-x 2 root wheel 40960 Jan 5 04:24:07 2016 /boot/kernel.old > drwxr-xr-x 2 root wheel 41984 Apr 18 05:53:27 2015 /boot/kernel.save > freebeast(10.2-S)[2] rm -fr /boot/kernel.[A-Z]* > freebeast(10.2-S)[3] !ls > ls -ldT /boot/kernel* > drwxr-xr-x 2 root wheel 40960 Jan 6 04:41:43 2016 /boot/kernel > drwxr-xr-x 2 root wheel 40960 Jan 5 04:24:07 2016 /boot/kernel.old > drwxr-xr-x 2 root wheel 41984 Apr 18 05:53:27 2015 /boot/kernel.save > freebeast(10.2-S)[4] cd /usr/src > freebeast(10.2-S)[5] make KERNCONF=GENERIC installkernel > -------------------------------------------------------------- > >>> Installing kernel GENERIC > -------------------------------------------------------------- > ... > install -o root -g wheel -m 555 iscsi_initiator.ko.symbols > /boot/kernel > kldxref /boot/kernel > freebeast(10.2-S)[6] !ls > ls -ldT /boot/kernel* > drwxr-xr-x 2 root wheel 40960 Jan 6 05:54:55 2016 /boot/kernel > drwxr-xr-x 2 root wheel 40960 Jan 6 04:41:43 2016 /boot/kernel.old > drwxr-xr-x 2 root wheel 41984 Apr 18 05:53:27 2015 /boot/kernel.save > freebeast(10.2-S)[7] > > Thanks for your help! >
Thank you for testing and confirming. We'll look into this further. Trond, thank you for reporting. Glen
signature.asc
Description: PGP signature