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

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/fK/_3W+ekQd6et=g+S0kolU
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Wed, 2 Sep 2015 15:50:24 +0300
Gleb Smirnoff <glebius@FreeBSD.org> wrote:

>   Alexander,
>=20
> 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
> A> > installworld all alternative kernels.
> A> >  =20
> A> >   Sponsored by:	Netflix
> A> >   Sponsored by:	Nginx, Inc.
> A> >=20
> A> > Modified:
> A> >   head/Makefile.inc1
> A> >=20
> A> > Modified: head/Makefile.inc1
> A> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
> 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=3D${TMPPATH} \
> A> >  	    ${MAKE} ${IMAKE_INSTALL} KERNEL=3D${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=3D${TMPPATH} \
> A> > +	    ${MAKE} ${IMAKE_INSTALL}
> A> > KERNEL=3D${INSTKERNNAME}.${_kernel} ${.TARGET:S/kernel//} +.endfor
> A> > =20
> A> >  distributekernel distributekernel.debug:
> A> >  .if empty(INSTALLKERNEL)
> A>=20
> 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
> A> installed into /boot/kernel, which is good and normal, and I get
> A> an extra and highly undesired copy in boot/kernel.<blah>. That one
> A> I didn't ask for and would rather see it gone.=20
>=20
> Does that happen to you, or do you just suppose that this is going to
> happen looking at the code?
>=20
> --=20
> Totus tuus, Glebius.

It does happen to me, I wouldn't bother you otherwise.

'make installworld KERNCONF=3DKANBSD' now results in kernel installed
twice, once as /boot/kernel and once as /boot/kernel.KANBSD. Re-running
it once more, I even get to have /boot/kernel.KANBSD.old.

As a side point, 'make buildworld' does not suffer from same issue.

--=20
Alexander Kabaev

--Sig_/fK/_3W+ekQd6et=g+S0kolU
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJV5vTLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDNUY3RDk5NTk5QjY0MUUxM0M1MTU2OTEw
NzEzMjI5OTkyNzkyRTdFAAoJEAcTIpmSeS5+GKkP/AgntcLYxL1VAX7tSdZQeaDQ
od5j42rCy9nGuj2aUrDqlgHd+WaTVa0N6On2AjPmtcAswozhnWfK24lyCkM5EX8b
ZOnrA2Ox64jj6BSk7hx2g9WH/uEm1AJauDYMHmvfjmw1dAZDOG7gpfyg1g7kV8eG
rRqJwNokh1P15RGX4qrtqSkPmN/Ug/JYsDdS2SmVns9OtWlWi7C2tF2KgltYZdZH
GF/d6C4Hqvf3nrLoniMV8wVUCqx/Q0vpJJEvp/KR5mR+M1HcGfsZl7j3lkbtpmPe
RR+fBRvyYQme4ks0XPVpYi0MxkSgpzAdIxUdino4Tn1WWB4EQfp1zdOEW4iAi2Vd
Q0Lgs/RLnqZcuuefoonJWyR5CrqKb7+ViqQmIDc9JUsTy9evJFkBj0UNkaFYQc+0
NkusV7f+eM+72tlgPxH+hwDipFnlI+8iyJdQmyPKRtpZCkLpcQLdbaU9ZrLH/pcz
DON/VeawUkMHLb9mMmCyWUcAO4sDAjKNLZksQFXRqvHX9CZgSY4VKy35YCGma0PC
/WRcYoUDbCLZRwwh823bJZCP1bAc/xgpBIzrNWQHvIec/0U/J0E4M6vnfDL6a37w
qcEgwrihlfaNWw8Z0SN8XYi7RakkED8139nFUlbRlsmKjlBimdYCmhJBNmxSnURD
72vyhMa7NQXYJtbdhtMi
=eYuu
-----END PGP SIGNATURE-----

--Sig_/fK/_3W+ekQd6et=g+S0kolU--



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