From owner-freebsd-stable Thu Aug 2 9: 3:59 2001 Delivered-To: freebsd-stable@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id 4441237B401 for ; Thu, 2 Aug 2001 09:03:53 -0700 (PDT) (envelope-from gshapiro@gshapiro.net) Received: from horsey.gshapiro.net (gshapiro@localhost [127.0.0.1]) by horsey.gshapiro.net (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id f72G3q0m014713 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 2 Aug 2001 09:03:52 -0700 (PDT) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.0.Beta16/8.12.0.Beta16) id f72G3pli014710; Thu, 2 Aug 2001 09:03:51 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15209.31207.763369.376076@horsey.gshapiro.net> Date: Thu, 2 Aug 2001 09:03:51 -0700 From: Gregory Neil Shapiro To: Patrik Sundberg Cc: freebsd-stable@FreeBSD.ORG Subject: Re: creating releases In-Reply-To: <20010802115244.A60577@radiac.mine.nu> References: <20010802115244.A60577@radiac.mine.nu> X-Mailer: VM 6.92 under 21.5 (beta1) "anise" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ps> I need to create my own releases of FreeBSD stable (+ some additions ps> for my product), including CD's and the works. I have some problems ps> with make release in /usr/src/release and wonder if someone could give ps> or point me to some steps on how to do this the correct way? Here is my 'makecd' script I use to create a release CD. See the comments at the bottom regarding make release. #!/bin/sh ### makecd --- Create a bootable FreeBSD install CD ## Author: Gregory Neil Shapiro # Error exit EX_UNAVAILABLE=69 # FreeBSD release area rel=/src/FreeBSD/release/R # Boot blocks boot=floppies/boot.flp # CD-ROM root dir=cdrom/disc1 # Move into the area cd ${rel} || exit ${EX_UNAVAILABLE} # Read CD_VERSION from cdrom.inf if [ ! -f ${dir}/cdrom.inf ] then echo "$0: ${dir}/cdrom.inf missing" exit ${EX_UNAVAILABLE} fi read version < ${dir}/cdrom.inf cd_version=${version##CD_VERSION = } if [ "${cd_version}" = "" ] then echo "$0: cd_version not defined" exit ${EX_UNAVAILABLE} fi # CD Parameters appid="FreeBSD ${cd_version}" pubid="Gregory Neil Shapiro " # Where to save the backup iso=/extra/gshapiro/FreeBSD.iso # Create the ISO file /usr/local/bin/mkisofs -A "${appid}" -P "${pubid}" -p "${pubid}" \ -o ${iso} -b ${boot} -R -J ${dir} # Other useful commands: # # Make a release: # # make release CHROOTDIR=/src/FreeBSD/release \ # BUILDNAME=4.3-STABLE-2001-08-02 \ # CVSROOT=/src/FreeBSD/cvsrepo RELEASETAG=RELENG_4 \ # NODOC=YES NOPORTS=YES ALLLANG=no NOPORTREADMES=YES NOSRC=YES # # To mount/umount the ISO image: # vnconfig /dev/vn0c /extra/gshapiro/FreeBSD.iso # mount -r -t cd9660 /dev/vn0c /mnt # ... # umount /mnt # vnconfig -u /dev/vn0c # # To burn the ISO file to a CD: # cdrecord dev=0,5,0 speed=8 /extra/gshapiro/FreeBSD.iso To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message