Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 18:41:02 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        "Brian A. Seklecki" <lavalamp@spiritual-machines.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: release(8) environmental variables
Message-ID:  <20071031164101.GC33211@kobe.laptop>
In-Reply-To: <1193843040.4419.9.camel@ingress.pitbpa0.priv.collaborativefusion.com>
References:  <20071030180139.Y81307@arbitor.digitalfreaks.org> <20071031115412.GD3140@kobe.laptop> <1193843040.4419.9.camel@ingress.pitbpa0.priv.collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-10-31 11:03, "Brian A. Seklecki" <lavalamp@spiritual-machines.org> wrote:
>On Wed, 2007-10-31 at 13:54 +0200, Giorgos Keramidas wrote:
>>On 2007-10-30 18:02, "Brian A. Seklecki" <lavalamp@spiritual-machines.org> 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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071031164101.GC33211>