Date: Wed, 2 Sep 2015 16:20:34 +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: <20150902132034.GL1023@FreeBSD.org> In-Reply-To: <20150902090825.619467d9@kan> References: <201509011159.t81BxCkm072208@repo.freebsd.org> <20150901224438.32e982dd@kan> <20150902125024.GH1023@FreeBSD.org> <20150902090825.619467d9@kan>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150902132034.GL1023>