svn commit: r287358 - head

Alexander Kabaev kabaev at gmail.com
Wed Sep 2 13:29:15 UTC 2015


On Wed, 2 Sep 2015 16:20:34 +0300
Gleb Smirnoff <glebius at FreeBSD.org> wrote:

> 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
> A> > A> > ${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//}
> A> > A> > +.endfor 
> 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,
> A> > A> when installing my kernel, built from config file <blah>, I
> A> > A> get it installed into /boot/kernel, which is good and normal,
> A> > A> and I get an extra and highly undesired copy in
> A> > A> boot/kernel.<blah>. That one I didn't ask for and would
> A> > A> rather see it gone. 
> A> > 
> A> > Does that happen to you, or do you just suppose that this is
> A> > going to 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.
> A> Re-running it once more, I even get to
> A> 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.

Sorry, read them as installkernel and buildkernel respectively.
-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150902/1d74ae10/attachment.bin>


More information about the svn-src-head mailing list