From owner-cvs-all@FreeBSD.ORG Sat Feb 26 22:25:03 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FDFC16A4CE; Sat, 26 Feb 2005 22:25:03 +0000 (GMT) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0276243D2D; Sat, 26 Feb 2005 22:25:03 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) j1QMPMDU078138; Sat, 26 Feb 2005 17:25:22 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Ruslan Ermilov In-Reply-To: <20050226222035.GD93910@ip.net.ua> References: <200502222329.j1MNTskQ089307@repoman.freebsd.org> <20050226204051.GA51467@ip.net.ua> <1109454759.53375.19.camel@shumai.marcuscom.com> <20050226222035.GD93910@ip.net.ua> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-9lQ0mON0ZWn5iBuTDAI3" Organization: MarcusCom, Inc. Date: Sat, 26 Feb 2005 17:24:36 -0500 Message-Id: <1109456676.53375.22.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 FreeBSD GNOME Team Port cc: Jeremy Messenger cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 src/share/mk Makefile src/share/termcap Makefile src/usr.bin/vgrind Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2005 22:25:03 -0000 --=-9lQ0mON0ZWn5iBuTDAI3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2005-02-27 at 00:20 +0200, Ruslan Ermilov wrote: > On Sat, Feb 26, 2005 at 04:52:39PM -0500, Joe Marcus Clarke wrote: > > I'm a bit confused. My script downloads the source, and does a fresh > > make world followed by a make distribution (almost exactly how it's > > documented in the jail(8) man page): > >=20 > > cd ${SRCBASE} > > mkdir -p ${D} > > env DESTDIR=3D${D} make world > >=20 > > if [ $? !=3D 0 ]; then > > echo "ERROR: make world failed. See above output." > > exit 1 > > fi > >=20 > > cd etc > > make distribution DESTDIR=3D${D} > >=20 > > if [ $? !=3D 0 ]; then > > echo "ERROR: make distribution failed. See above output." > > exit 1 > > fi > >=20 > > What is meant by an "upgrade" in this context, and how exactly should I > > be building a full FreeBSD jail? > >=20 > By "upgrade" I mean when your sources do not match your installed > world, e.g., when you're trying to populate jail(8) with today's > sources using yesterday's world. Understood. I thought you were referring to a NO_CLEAN type build. >=20 > During the buildworld/installworld we bootstrap several utilities. > For example, cap_mkdb(8) was recently updated to handle different > endianness needed to be used as a tool in cross-build environment. > src/share/termcap/Makefile was modified accordingly and is called > as part of "make distribution" from src/etc/Makefile. >=20 > For "make distribution" to work correctly in upgrade environment, > it should be supplied such an environment. This patch does this: Thanks. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-9lQ0mON0ZWn5iBuTDAI3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCIPckb2iPiv4Uz4cRAmMOAJwILCeXlhcZxQHB6ARbgprZCnONRwCfRcSo YoFu7/Z/57in1DznhJD6wXQ= =gG2/ -----END PGP SIGNATURE----- --=-9lQ0mON0ZWn5iBuTDAI3--