Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2015 15:50:24 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r287358 - head
Message-ID:  <20150902125024.GH1023@FreeBSD.org>
In-Reply-To: <20150901224438.32e982dd@kan>
References:  <201509011159.t81BxCkm072208@repo.freebsd.org> <20150901224438.32e982dd@kan>

next in thread | previous in thread | raw e-mail | index | archive | help
  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.



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