From owner-freebsd-stable Thu Nov 23 15:48:12 2000 Delivered-To: freebsd-stable@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 4FB6C37B4CF for ; Thu, 23 Nov 2000 15:48:09 -0800 (PST) Received: from [212.238.15.212] (helo=grand.canyon.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.14 #2) id 13z663-0007cR-00; Thu, 23 Nov 2000 23:48:07 +0000 Received: by grand.canyon.demon.nl (Postfix, from userid 1000) id 4AC022039; Fri, 24 Nov 2000 00:47:48 +0100 (CET) Date: Fri, 24 Nov 2000 00:47:48 +0100 From: Rene de Vries To: Nevermind Cc: freebsd-stable@freebsd.org Subject: Re: Building ISO image Message-ID: <20001124004748.A1492@canyon.demon.nl> References: <20001123130309.B1019@nevermind.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001123130309.B1019@nevermind.kiev.ua>; from never@nevermind.kiev.ua on Thu, Nov 23, 2000 at 01:03:10PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexandr, Yes, this is possible. What you need is: - a CVS repository (preferably nearby, or on your local disk) - $CVSROOT should be set to this remository - a complete src tree - lots of diskspace - time, time, time, time.... cd /usr/src/release vi Makefile - remove the '#' on line 17 (BUILDNAME) and modify the 4.0-RELEASE -> 4.2-RELEASE (or some other name for STABLE) - add '#' at the beginning of line 20,21,23 (DATE, BASE, BUILDNAME) - remove the '#' at line 24 (CHROOTDIR) and modify the path to some place large enough to hold a few gigabyte. - remove the '#' at line 26 (RELEASETAG) and set the var to RELENG_4_2_0_RELEASE (this is where you define the version you are going to build). - remove the '#' at lines 61,62 (NODOC and NOPORTS) and set them as you wish (I usually only set NODOC=YES and leave the '#' in front of NOPORTS) - save the Makefile make .... wait a few hours depending on your hardware .... cd $CHROOTDIR/R/cdrom/disc1 mkisofs -o ~/FreeBSD42.iso -j -r -b floppies/boot.flp . /* you could test before burning the cd by: vnconfig -c /dev/vn0 ~/FreeBSD42.iso mount -t cd9660 /dev/vn0 /mnt cd /mnt ... browse around ... cd / umount /mnt vnconfig -u /dev/vn0 */ ... and burn this image onto a cd (cdrecord) ... This CD should be bootable, it won't have any packages nor will it have XFree, but I just installed a fresh system using such a CD and it worked!!! I hope this helps, Rene On Thu, Nov 23, 2000 at 01:03:10PM +0200, Nevermind wrote: > How can I build ISO image for current -STABLE source tree? > Do I need any additional files? -- Rene de Vries http://www.tcja.nl mailto:rene@tcja.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message