Date: Thu, 2 Aug 2001 09:03:51 -0700 From: Gregory Neil Shapiro <gshapiro@FreeBSD.ORG> To: Patrik Sundberg <ps@radiac.mine.nu> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: creating releases Message-ID: <15209.31207.763369.376076@horsey.gshapiro.net> In-Reply-To: <20010802115244.A60577@radiac.mine.nu> References: <20010802115244.A60577@radiac.mine.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <gshapiro@gshapiro.net> # 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 <gshapiro@gshapiro.net>" # 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15209.31207.763369.376076>