Date: Thu, 17 Sep 1998 03:38:09 -0500 (CDT) From: Jeffrey Lynn Jeffries <jeffries@silo.csci.unt.edu> To: questions@FreeBSD.ORG Subject: Making CD's of stable tree Message-ID: <Pine.GSO.4.02.9809170311190.21187-100000@silo.csci.unt.edu>
next in thread | raw e-mail | index | archive | help
I would like to know the steps of making a -STABLE distribution. I have a
few ideas on what needs to be done, but I'm not entirely sure I have all
of the steps. . . (I have asked this question once before and got a
response like 'do all the obvious steps' -- not helpful :)
After I cvsup my source tree, and rebuild all binaries, etc., I'm assuming
that I go into /usr/src/release
Then, I verify that the Makefile is correct. I have a few questions
regarding this:
* On the 10th line or so, these lines appear:
DATE != date +%Y%m%d
BASE = 2.2.6
BUILDNAME?=${BASE}-${DATE}-SNAP
I'm assuming that (for some reason I don't know about) the
/usr/src/release directory is not updated when I cvsup (I use the
src-all option). What is needed so that this is correct? It makes
me wonder however -- the Makefile was last updated 1998/08/20
Once the Makefile is correct, I then do:
make release CHROOTDIR=/home/jeffries/makeStableCD
without the BUILDNAME (since it is a -SNAP, right?) and without the
RELEASETAG (since it's a -SNAP, right?)
Once this is done, I then construct a "El Torito"/bootable ISO-9660 image
file with Rockridge extensions, using:
/usr/share/examples/worm/makecdfs.sh -b "19980912 2.2.7-STABLE" \
/home/jeffries/makeStableCD /home/jeffries/stableCD.cd0 \
"FreeBSD 2.2.7-STABLE 1998/09/12"
Is this it? Am I ready to go? I'm going to assume that there is a lot
that I don't have here like the creation of the boot.catalog file - since
all of the binaries are -STABLE, don't I somehow need to make a crunched
kernel that it stored onto the CD? Also, if I put some/all ports, these
obviously won't fit on a single CD. Is the makecdfs.sh script "smart"
enough to figure this out, or do I need to create seperate directories for
ports, and generate CD's from there? And, if so, what are the
requirements for the names of directory hierarchy (i.e. /usr/ports/blah)?
I am totally new to making releases - or stables ;) - so any help, or even
scripts and Makefiles would be wonderful (learning by example can help
lots!)
To help out with the FreeBSD project, I will compile all of the
suggestions into a document and post them on my webpage (giving proper
credit to the contributors, of course) and send a copy to the
documentation project as well.
Thank you very much (in advance) for your help.
==========================================================================
Jeffrey Lynn Jeffries
http://www.cs.unt.edu/~jeffries
Proud user of FreeBSD: Ask me how to unleash the daemon inside your PC
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.02.9809170311190.21187-100000>
