From owner-freebsd-stable@FreeBSD.ORG Wed Apr 22 12:10:41 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from hub.FreeBSD.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC45A4CC; Wed, 22 Apr 2015 12:10:40 +0000 (UTC) Date: Wed, 22 Apr 2015 12:10:37 +0000 From: Glen Barber To: Slawa Olhovchenkov Cc: freebsd-stable@freebsd.org Subject: Re: bsdinstall support for multiple kernels Message-ID: <20150422121037.GC31769@hub.FreeBSD.org> References: <20150422111334.GS1394@zxy.spb.ru> <20150422111844.GA31769@hub.FreeBSD.org> <20150422112822.GT1394@zxy.spb.ru> <20150422115559.GB31769@hub.FreeBSD.org> <20150422120706.GH9114@zxy.spb.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tqI+Z3u+9OQ7kwn0" Content-Disposition: inline In-Reply-To: <20150422120706.GH9114@zxy.spb.ru> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2015 12:10:41 -0000 --tqI+Z3u+9OQ7kwn0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 22, 2015 at 03:07:06PM +0300, Slawa Olhovchenkov wrote: > On Wed, Apr 22, 2015 at 11:55:59AM +0000, Glen Barber wrote: >=20 > > On Wed, Apr 22, 2015 at 02:28:22PM +0300, Slawa Olhovchenkov wrote: > > > On Wed, Apr 22, 2015 at 11:18:44AM +0000, Glen Barber wrote: > > > > > bsdinstall don't ask about kernel.VSTREAM and don't install kerne= l.VSTREAM. > > > > >=20 > > > > > What I miss? > > > >=20 > > > > Currently, the installer only installs GENERIC. > > > >=20 > > > > I have fixes for this in a projects branch, but it's not ready to m= erge > > > > back to head just yet. (^/projects/release-install-debug if you're > > > > interested.) > > >=20 > > > I think also exist bug in scripts/make-manifest.sh: > > >=20 > > > [...] > > > eval: ${kernel....}: Bad substitution > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >=20 > > Yes, you are correct. This is also fixed in the projects branch. >=20 > O, I see. > Can you also patch release/Makefile? >=20 > =3D=3D=3D > .if !empty(TARGET:M${_V}) > OSRELEASE=3D ${TYPE}-${REVISION}-${BRANCH}-${TARGET} > VOLUME_LABEL=3D ${REVISION:C/[.-]/_/g}_${BRANCH:C/[.-]/_/g}_${TARGET} > .else > OSRELEASE=3D ${TYPE}-${REVISION}-${BRANCH}-${TARGET}-${TARGET_ARCH} > VOLUME_LABEL=3D ${REVISION:C/[.-]/_/g}_${BRANCH:C/[.-]/_/g}_${TARGET_AR= CH} > .endif > =3D=3D=3D >=20 > For BRANCH/REVISION like 10.1-RELEASE-p276179 label exceed limit: > length(10_1_RELEASE_p281264_amd64_UEFIBO) =3D 33. >=20 I'm not sure there's much we really can do about this just yet. The only solution I have for you at the moment is to set VOLUME_LABEL in your build environment to exclude the patch version. Glen --tqI+Z3u+9OQ7kwn0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVN4+9AAoJEAMUWKVHj+KT3MIQAJD2TfpRhuLkaIyZqQRnQrhp WOTHzbUGGyjAFKHECZTv0jxRCmVZGQ0Nz9Zor1QmpabUnnVN6pft9KtcONpsrSIC AJhRuNLE9+yvMiFmqac1fWcPepUQNuZqvRFRZFTvIKDZZRRjC+JdN4mM9ZVGgV5y 2CtFEtmDEUZNsvkMnBMQ5t1wxvpJuIpgs8j9ZgoMKXnprU5MHHI4rEsyGR7btALs NQj1vWPIytFQPK8XwcnsJsVyH7fjseLEJUcOQbGljZVRMQqocq5TKMRY6HKh+8sj DJ4z+ttpGLDmZroj2QIv6Z0oAAsLe/Ni5tS/YBcHRml3fsgm8BRuCm3O2DcP81AA Ct/DOrhf6/c8OABbdCnuEI6NtkSNxJ+uP4cwtEsxqURkMbv2IB15/ROFkUxTMFN8 fJXRaQXTpjTGJEWFKtc4QNtbVvECwVtITZ6D5Kx/5Coi4rDKv6Th6KGcvdZcvASN 5aUbm2X2RM9vG7oRlDVuhloBNmyVFskKfEuViNuB09qUWP2+ZCOxf2SDDRnR4TPI l4JwZNilpIWB8JTVuCpil3WitBzP7giYCe6FS75Ma+/wyOiUYxyalF5xURXdpr2n EUvN2S73227rDh3/WNw1xCqI7b9Fnk312ylD85r3qHuLFtfhqBtYu85l50TsWpM8 JT8ypnwUfAQu5Qoaoc8r =vedo -----END PGP SIGNATURE----- --tqI+Z3u+9OQ7kwn0--