make release and various make.conf's

Stijn Hoop stijn at win.tue.nl
Tue May 13 23:23:03 PDT 2003


On Tue, May 13, 2003 at 10:36:04PM -0400, Lowell Gilbert wrote:
> Stijn Hoop <stijn at win.tue.nl> writes:
> 
> > I want to build a release that's as pristine as possible. Therefore
> > I wanted to use a separate make.conf (A) for the initial chroot installation
> > 'make buildworld', and a separate make.conf (B) for the 'make release' step.
> > As the host's /etc/make.conf has options that are not appropriate for
> > building the initial chroot install, make.conf (A) cannot be /etc/make.conf.
> > 
> > So I tried to build the chroot install with
> > 
> > # env __MAKE_CONF=/freebsd/etc/make.conf.host make buildworld
> > 
> > which succeeded. Then I tried to make the release but there I ran into
> > a problem -- I needed to specify the above make.conf.host in the __MAKE_CONF
> > variable in order for the initial 'installworld' to succeed -- but then I
> > couldn't specify a __MAKE_CONF for the release build!
> > 
> > Is there a way to accomplish what I want?
> 
> I believe the release engineers normally use a jail(8) for this purpose.

Great suggestion, that'll probably work. Thanks!

--Stijn

-- 
Q: Why is Batman better than Bill Gates?
A: Batman was able to beat the Penguin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030514/ae991a75/attachment-0001.bin


More information about the freebsd-questions mailing list