From owner-freebsd-questions Thu Sep 17 01:38:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23985 for freebsd-questions-outgoing; Thu, 17 Sep 1998 01:38:49 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from Mercury.unix.acs.cc.unt.edu (mercury.acs.unt.edu [129.120.220.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23957 for ; Thu, 17 Sep 1998 01:38:36 -0700 (PDT) (envelope-from jeffries@silo.csci.unt.edu) Received: from silo.csci.unt.edu (silo.csci.unt.edu [129.120.3.15]) by Mercury.unix.acs.cc.unt.edu (8.8.8/8.8.8) with ESMTP id DAA21499 for ; Thu, 17 Sep 1998 03:38:11 -0500 (CDT) Received: from localhost (jeffries@localhost) by silo.csci.unt.edu (8.8.8/8.8.4) with SMTP id DAA21622 for ; Thu, 17 Sep 1998 03:38:09 -0500 (CDT) Date: Thu, 17 Sep 1998 03:38:09 -0500 (CDT) From: Jeffrey Lynn Jeffries To: questions@FreeBSD.ORG Subject: Making CD's of stable tree Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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