From owner-svn-src-all@FreeBSD.ORG Mon Nov 18 19:55:10 2013 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C543FBD; Mon, 18 Nov 2013 19:55:10 +0000 (UTC) Received: from mail0.glenbarber.us (mail0.glenbarber.us [IPv6:2607:fc50:1:2300:1001:1001:1001:face]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 726A12363; Mon, 18 Nov 2013 19:55:10 +0000 (UTC) Received: from glenbarber.us (70.15.88.86.res-cmts.sewb.ptd.net [70.15.88.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id A0F0B140B6; Mon, 18 Nov 2013 19:55:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us A0F0B140B6 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Mon, 18 Nov 2013 14:55:06 -0500 From: Glen Barber To: Hiroki Sato Subject: Re: svn commit: r258310 - head/release Message-ID: <20131118195506.GT1643@glenbarber.us> References: <201311181625.rAIGPuRG078815@svn.freebsd.org> <20131119.034852.1148136397426813684.hrs@allbsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3pZQ0wszfDg7ZRO+" Content-Disposition: inline In-Reply-To: <20131119.034852.1148136397426813684.hrs@allbsd.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 User-Agent: Mutt/1.5.22 (2013-10-16) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.16 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: Mon, 18 Nov 2013 19:55:10 -0000 --3pZQ0wszfDg7ZRO+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 19, 2013 at 03:48:52AM +0900, Hiroki Sato wrote: > gj> +dvd: > gj> +# Install system > gj> + mkdir -p ${.TARGET} > gj> + cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution \ > gj> + DESTDIR=3D${.OBJDIR}/${.TARGET} WITHOUT_RESCUE=3D1 WITHOUT_KERNEL_= SYMBOLS=3D1 \ > gj> + WITHOUT_PROFILE=3D1 >=20 > Please remove WITHOUT_PROFILE=3D1 here. >=20 Ok. > gj> -export PKG_ABI=3D"freebsd:$(echo ${REVISION} | tr -d '.0'):x86:64" > gj> +export PKG_ABI=3D"freebsd:$(echo ${REVISION} | sed -e 's/\.[0-9]//')= :x86:64" >=20 > PKG_ABI=3Dfreebsd:${REVISION%.[0-9]*}:x86:64 is simpler than invoking > tr or sed. However, pkg-stage.sh should have a mapping rule from > TARGET and TARGET_ARCH, not in arch specific config files, I think. > Other than the package list, variables are not arch-specific. >=20 The pkg(8) ABI does not map directly to anything we use ('amd64' or 'i386') unfortunately. > Does this guarantee that the packages downloaded by pkg(8) are for a > specific release? And I think fetching packages can be done just > after svn co stage in release.sh. Collecting up necessity of network > access (including fetching distfiles for docproj) before entering the > chroot environment makes redoing the release build easier. >=20 I don't think it has been discussed yet where packages built for a specific release will exist. Anyway, I would like to avoid directory hierarchy pollution outside of the dvd/ directory, this is why I use it for PKG_CACHEDIR directly. Glen --3pZQ0wszfDg7ZRO+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJSinCaAAoJELls3eqvi17QS/sP/R4uw45LEMK+6S7oCtfTFMNY kO0P4Ta8J2RUOEGnXuGC2ELyaqWKVC3zNJwqOJQGXIQFwGQ4nHkLU2CXeyOPE6C2 FT2R/H8ciXIB4WB1Lz7oHeTKNt19AafYDR/Iw7AzwJTbgrCoiwAkVSXB4E5XtB6Z SXWiv11euIwQhP0ZiUTbrRlm9bIezIZvBJkZIWt2fM2joMeGWCyUFO5fWSIQF8UM t9ruUDdreXVj1PVyZGIZAGFIEOF4e1Yddqu7owysiyNDW2gU7skTLqWj+h+6V4dy Nl/V3vNF9EgIc6CDZccKfqkEGGN9DHAt40ANfN2qAE+5SPRfXs+CGjHxz06o0pnM xzRMYzgQKKmnoGKZG0HpCEVNCmBqgqZ3m6C/690chnqn1N086i2bmnexsYps+aAA xNZrqwscb8c+54TQWD7AyK08b103o9y817ZqCAk7OnxbB30IOFCBII8qAc6iDlUO DAPosvwdzTEol2LPhPMqNxias+PUSSco9luWAa0INxhytf4CmMRjLMk6uUF+BBd1 9EJl1oTEfmYeowHkAGH9Irq3wM+iQccFSrHUB222NOrUwBRZc7O7mCvuBSIdhIWo upvw3v9z3M0pQbJPuOpb/VaOZz+gNlh8zExX0rMIoin6yMnQWtOXGqxa/sVh/2bF tUO6tqdgFmogrYboJQ9d =YIHL -----END PGP SIGNATURE----- --3pZQ0wszfDg7ZRO+--