svn commit: r287358 - head

Gleb Smirnoff glebius at FreeBSD.org
Wed Sep 2 12:50:34 UTC 2015


  Alexander,

On Tue, Sep 01, 2015 at 10:44:38PM -0400, Alexander Kabaev wrote:
A> On Tue, 1 Sep 2015 11:59:12 +0000 (UTC)
A> > Log:
A> >   Not only build with buildworld, but also install with installworld
A> > all alternative kernels.
A> >   
A> >   Sponsored by:	Netflix
A> >   Sponsored by:	Nginx, Inc.
A> > 
A> > Modified:
A> >   head/Makefile.inc1
A> > 
A> > Modified: head/Makefile.inc1
A> > ==============================================================================
A> > --- head/Makefile.inc1	Tue Sep  1 11:46:13 2015
A> > (r287357) +++ head/Makefile.inc1	Tue Sep  1 11:59:12
A> > 2015	(r287358) @@ -1127,6 +1127,14 @@ reinstallkernel
A> > reinstallkernel.debug: _ cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
A> >  	    ${CROSSENV} PATH=${TMPPATH} \
A> >  	    ${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME}
A> > ${.TARGET:S/kernel//} +.for _kernel in ${BUILDKERNELS:[2..-1]}
A> > +	@echo
A> > "--------------------------------------------------------------"
A> > +	@echo ">>> Installing kernel ${_kernel}"
A> > +	@echo
A> > "--------------------------------------------------------------"
A> > +	cd ${KRNLOBJDIR}/${_kernel}; \
A> > +	    ${CROSSENV} PATH=${TMPPATH} \
A> > +	    ${MAKE} ${IMAKE_INSTALL}
A> > KERNEL=${INSTKERNNAME}.${_kernel} ${.TARGET:S/kernel//} +.endfor
A> >  
A> >  distributekernel distributekernel.debug:
A> >  .if empty(INSTALLKERNEL)
A> 
A> This is probably not doing what you think it is doing. Now, when
A> installing my kernel, built from config file <blah>, I get it installed
A> into /boot/kernel, which is good and normal, and I get an extra and
A> highly undesired copy in boot/kernel.<blah>. That one I didn't ask for
A> and would rather see it gone. 

Does that happen to you, or do you just suppose that this is going to
happen looking at the code?

-- 
Totus tuus, Glebius.


More information about the svn-src-head mailing list