Building my own release

William Denton buff at pobox.com
Mon Mar 31 20:36:30 PST 2003


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.






More information about the freebsd-stable mailing list