From owner-svn-src-all@freebsd.org Wed Sep 2 13:08:36 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B38049C7DB3; Wed, 2 Sep 2015 13:08:36 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com [IPv6:2607:f8b0:400d:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6CB8A645; Wed, 2 Sep 2015 13:08:36 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by qkdv1 with SMTP id v1so4712027qkd.0; Wed, 02 Sep 2015 06:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=Y1ViPkmauj6uZGy0YD0oXw2ftJuJFrsom3jNkL44Ebo=; b=t9sK5AcPk5rrOBo5KVDvAGx4mwQNHHQw3kBMZggirb5AVYFgMjLRKfp6VDZhdRX76b e2jW7/HUW/rDJlIrMKsMe4krsY9neMsDVrT+//XYuI+2ob8GSnMvEYmpBWUi4ApvcFaR JV5zHSgJ7shA6P3s3jyXq7kxR7U8clFe3zJig05nkjY7zLRNw2x+jWe+sYu04kZqyXw+ 78QmJTLgA4Ct2nnxIDQ8FwXhiGQrzQJkRUhe9vL7u1XKqerR+O9kFSAtQH5KWftLVaFQ uo4bSGfdm5gGi87BhgiL3RVkyqSjSefaViraJXzgpS/Yn6x8hv299pAhxbJbDiuGjab2 Pnpw== X-Received: by 10.55.31.65 with SMTP id f62mr28567966qkf.6.1441199314139; Wed, 02 Sep 2015 06:08:34 -0700 (PDT) Received: from kan ([2601:18f:0:1570:226:18ff:fe00:232e]) by smtp.gmail.com with ESMTPSA id o25sm12039071qkl.29.2015.09.02.06.08.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 06:08:33 -0700 (PDT) Date: Wed, 2 Sep 2015 09:08:25 -0400 From: Alexander Kabaev To: Gleb Smirnoff 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> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/fK/_3W+ekQd6et=g+S0kolU"; protocol="application/pgp-signature" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 13:08:36 -0000 --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 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 , 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.. 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--