On Wed, Sep 02, 2015 at 09:08:25AM -0400, Alexander Kabaev wrote:
A> > A> > Modified: head/Makefile.inc1
A> > A> > 
==============================================================================
A> > A> > --- head/Makefile.inc1        Tue Sep  1 11:46:13 2015
A> > A> > (r287357) +++ head/Makefile.inc1      Tue Sep  1 11:59:12
A> > A> > 2015  (r287358) @@ -1127,6 +1127,14 @@ reinstallkernel
A> > A> > reinstallkernel.debug: _ cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
A> > A> >           ${CROSSENV} PATH=${TMPPATH} \
A> > A> >           ${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME}
A> > A> > ${.TARGET:S/kernel//} +.for _kernel in ${BUILDKERNELS:[2..-1]}
A> > A> > +     @echo
A> > A> > "--------------------------------------------------------------"
A> > A> > +     @echo ">>> Installing kernel ${_kernel}"
A> > A> > +     @echo
A> > A> > "--------------------------------------------------------------"
A> > A> > +     cd ${KRNLOBJDIR}/${_kernel}; \
A> > A> > +         ${CROSSENV} PATH=${TMPPATH} \
A> > A> > +         ${MAKE} ${IMAKE_INSTALL}
A> > A> > KERNEL=${INSTKERNNAME}.${_kernel} ${.TARGET:S/kernel//} +.endfor
A> > A> >  
A> > A> >  distributekernel distributekernel.debug:
A> > A> >  .if empty(INSTALLKERNEL)
A> > A> 
A> > A> This is probably not doing what you think it is doing. Now, when
A> > A> installing my kernel, built from config file <blah>, I get it
A> > A> installed into /boot/kernel, which is good and normal, and I get
A> > A> an extra and highly undesired copy in boot/kernel.<blah>. That one
A> > A> I didn't ask for and would rather see it gone. 
A> > 
A> > Does that happen to you, or do you just suppose that this is going to
A> > happen looking at the code?
A> > 
A> > -- 
A> > Totus tuus, Glebius.
A> 
A> It does happen to me, I wouldn't bother you otherwise.
A> 
A> 'make installworld KERNCONF=KANBSD' now results in kernel installed
A> twice, once as /boot/kernel and once as /boot/kernel.KANBSD. Re-running
A> it once more, I even get to have /boot/kernel.KANBSD.old.
A> 
A> As a side point, 'make buildworld' does not suffer from same issue.

installworld? Now I'm really confused. Was that typo?

-- 
Totus tuus, Glebius.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to