Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 09:21:11 -0400
From:      "Christopher J. Michaels" <>
To:        <>
Cc:        "Christian Weisgerber" <>, "FreeBSD Mailing List" <questions@FreeBSD.ORG>
Subject:   RE: CVS repository for 'make world'?
Message-ID:  <000001bebcb2$18649c80$>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Just wanted to say thank you to everyone who helped me.  Esp Thierry for
forwarding this list of instructions to me.  It worked.


-----Original Message-----
From: Thierry Herbelot []
Sent: Monday, June 21, 1999 8:42 AM
To: Christopher J. Michaels
Cc: Christian Weisgerber; FreeBSD Mailing List
Subject: Re: CVS repository for 'make world'?

"Christopher J. Michaels" wrote:

Here's what I found on the list (I used it for my first "make release"
one week ago)

Subject: Re: Problem with "make release" - Solved
   Date: Fri, 2 Apr 1999 22:16:03 +0200 (CEST)
   From: N <>
     To: freebsd-stable@FreeBSD.ORG

The final guide on how to do a `make release' and convert it into
something suitable for burning onto a CD-R for 3.1-STABLE.

First of all, please consider buying your CD's at Walnut Creek, or any
vendor that supports the FreeBSD project.  They are the companies that
help make FreeBSD possible.  If you won't (or can't), *please* make a
donation directly.  Thanks!

On with the show:-

   (1)  Find a place with around 1.7 GB of space, and be sure you don't
        mount it with the `nodev' option.

   (2)  Make sure you have the results of a `make buildworld' from the
        sources you wish to release in /usr/obj.

   (3)  Read the Handbook and FAQ, especially
        FAQ/FAQ237.html#239>.  Note that you will need to add
        to the supfile shown there.

   (4)  Run cvsup.  A complete copy of the CVS tree currently is 615 MB.
        cvsup itself needs another 5 to store data for itself.  If you
        place this data somewhere else than the partition from step 1
        can substract the appropriate amount from the figure mentioned
        there.  Putting the CVS tree someplace else than where the build
        will end up is a nice performance boost as well.

   (5)  cd /usr/src/release; DATE=`date +%Y%m%d` CVSROOT=/home/ncvs \
        time make release BUILDNAME=3.1-${DATE}-SNAP \
        CHROOTDIR=/lots/of/space/rel RELEASETAG=RELENG_3

   (7)  After several long hours you'll have about 1 GB worth of files
        /lots/of/space/rel, including a directory R/cdrom/.

   (8)  Copy some stuff to R/cdrom/disc1/ from (or any
        mirror) - I add compat22, CVSup, tools, CERT and XFree86, and a
        .tar.gz of the CVS tree, to fill things up a bit.  You can also
        populate a packages directory, for example.

   (9)  Run /usr/share/examples/worm/ with suitable
arguments: -b FreeBSD-${DATE}-SNAP
/lots/of/space/rel/R/cdrom/disc1 \
        /var/run/freebsd.iso "FreeBSD, Inc."

  (10)  Burn the resulting image (some 400 MB) onto a CD-R, with
        You can change the script to pipe its output
        to cdrecord, saving you space and probably costing you a CD-R:
        mkisofs -a -l -L -R -r <filesys> | \
        (sleep 300; cdrecord -v speed=4 -data -dev=XXX -)

Hopefully, you now have a bootable CD-R.  I don't think I forgot to
mention any steps I took in the process of building one myself (that did
work fine in the end). I hope this will save someone somewhere some
it certainly made me respect JKH even more. :-)

Any comments appreciated.  I still don't know how to include the tools
directory automatically, why compat22 isn't built, or what to change to
make some ports a default part of the system (like ssh, of course a
host key should be generated during the install).


        -- Niels.

Thierry Herbelot <>
(+33) 1 46 52 47 23

To Unsubscribe: send mail to
with "unsubscribe freebsd-questions" in the body of the message

Want to link to this message? Use this URL: <$18649c80$0200000a>