From owner-freebsd-questions@FreeBSD.ORG Wed Oct 31 16:43:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6D0D16A41A for ; Wed, 31 Oct 2007 16:43:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id E55EA13C465 for ; Wed, 31 Oct 2007 16:42:34 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id l9VGfAgw002503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 31 Oct 2007 18:41:20 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l9VGf3k3033406; Wed, 31 Oct 2007 18:41:03 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l9VGf2nB033405; Wed, 31 Oct 2007 18:41:02 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 31 Oct 2007 18:41:02 +0200 From: Giorgos Keramidas To: "Brian A. Seklecki" Message-ID: <20071031164101.GC33211@kobe.laptop> References: <20071030180139.Y81307@arbitor.digitalfreaks.org> <20071031115412.GD3140@kobe.laptop> <1193843040.4419.9.camel@ingress.pitbpa0.priv.collaborativefusion.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1193843040.4419.9.camel@ingress.pitbpa0.priv.collaborativefusion.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.989, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.41, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: release(8) environmental variables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:43:39 -0000 On 2007-10-31 11:03, "Brian A. Seklecki" wrote: >On Wed, 2007-10-31 at 13:54 +0200, Giorgos Keramidas wrote: >>On 2007-10-30 18:02, "Brian A. Seklecki" wrote: >>> >>> As far as building goes, the variables in play are: >>> >>> DESTDIR, MAKEOBJDIRPREFIX, RELEASEDIR, CHROOTDIR, CVSROOT, >>> EXTSRCDIR, EXTDOCDIR, BUIILDNAME, RELEASETAG, NODOC, NOPORTS, >>> WORLD_FLAGS, LOCAL_SCRIPT >>> >>> For stage one of the release process, the following seem relevant: >>> >>> DESTDIR, MAKEOBJDIRPREFIX, RELEASEDIR >>> >>> For stage two: >>> >>> CHROOTDIR, CVSROOT, EXTSRCDIR, EXTDOCDIR, BUIILDNAME, RELEASETAG, NODOC, >>> NOPORTS, WORLD_FLAGS, LOCAL_SCRIPT >>> >>> Do you guys prefer to set these in make.conf(5) or as exported >>> environmental variables in the shell that spawn's make(1) ? >> >> make.conf is too invasive. I just set them in a shell script called >> `bldenv.sh' and saved in the release-checkout area :) > > I ask because I noticed that the following variablkes do not get > honored by "make release" that occurs inside the chroot() as spawned > by "make release" (presumably during release.5) > > DESTDIR, MAKEOBJDIRPREFIX, RELEASEDIR > > For example, OBJs get sent right into $CHROOTDIR/usr/obj/, which > really sucks. I believe that's intentional, so re-running "make release" with different CHROOTDIR values will produce consistently "similar" binaries.