Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 23:36:27 -0500 (EST)
From:      William Denton <buff@pobox.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Building my own release
Message-ID:  <20030325225959.V21909-100000@as2.dm.egate.net>
In-Reply-To: <20030317101549.GA88425@exmatis1.cnrm.meteo.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17 March 2003, Igor Pokrovsky wrote:

: Don't forget, that you'll need whole CVS repository in ${CVSROOT},
: which must contain src, ports, www. Then make will checkout
: your tar from repository (in your case RELENG_4_5_0_RELEASE).
: In fact building of release takes a lot of time and space.
: If you want to create ISOs as well, perhaps you'll have to
: specify MAKE_ISOS=yes as additional def for make release.
: I suggest you to read /usr/src/release/Makefile.

Thanks to you and Peter Jeremy, I got things working by loading the vn
module into the kernel, using the sample cvs-supfile to get the CVS
repository into /home/ncvs, making /disk2/src and /disk2/release, and
doing this:

  cd /disk2
  cvs -d /home/ncvs/ -R co -rRELENG_4 -P src
  cd src
  make buildworld
  cd release
  make release CHROOTDIR=/disk2/release \
    BUILDNAME=4.8-PRERELEASE-LOCAL CVSROOT=/home/ncvs \
    RELEASETAG=RELENG_4 NOPORTS=YES MAKE_ISOS=YES NODOC=YES

(The final make took about five hours on my PIII-450 and used up a couple
of gigs of disk.)  This made /disk2/release/R/cdrom/ which contains a
disc1/ and disc2/ directory, and a disc2 and miniinst ISO.  No disc1 ISO,
though, which I think is strange.  Why wouldn't I have it?  I captured all
the output in a log, and there's no sign there that it ever tried to make
a disc1 ISO.  It does the floppies, says it's "Setting up CDROM
distribution area" which shows several lines of "0 blocks," sets up /boot,
sets up the FTP area, then starts in on disc2.

Bill
-- 
William Denton : Toronto, Canada : http://www.miskatonic.org/ : Caveat lector.






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