From owner-freebsd-questions@FreeBSD.ORG Fri Jan 30 08:42:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F5F216A4CE for ; Fri, 30 Jan 2004 08:42:58 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id E924443D31 for ; Fri, 30 Jan 2004 08:42:35 -0800 (PST) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AmbEj-0007vT-00 for ; Fri, 30 Jan 2004 17:11:17 +0100 Received: from 213-203-244-156.kunde.vdserver.de ([213.203.244.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri Jan 30 16:11:17 2004 Received: from kai by 213-203-244-156.kunde.vdserver.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri Jan 30 16:11:17 2004 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Kai Grossjohann Date: Fri, 30 Jan 2004 17:11:26 +0100 Lines: 42 Message-ID: <87wu79e7rl.fsf@emptyhost.emptydomain.de> References: <65051.143.169.254.8.1075186122.squirrel@lori.mine.nu> <200401301611.12171.geert.hendrickx@ua.ac.be> <200401301633.09708.jorn@wcborstel.nl> <200401301650.33010.geert.hendrickx@ua.ac.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org Gmane-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:lIhhaEdNUZd+GJsx37vPEHIRpgA= Sender: news Subject: Re: How to build FreeBSD entirely from sources? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 16:42:58 -0000 Geert Hendrickx writes: >> You can better sync your source with cvsup rather then using the sources >> which are being installed by the CD. Like that you'll always have the most >> recent version of your FreeBSD installation. > > How do I do this? I put some stuff in /etc/make.conf. Then I execute the following command to fetch the most recent sources from the server: cd /usr/src make update Then, follow the process outlined in /usr/src/UPDATING to rebuild the system. I do: cd /usr/src make buildworld buildkernel installkernel shutdown now mergemaster -p make installworld mergemaster reboot You may have to adjust this sequence of commands depending on your config and on what /usr/src/UPDATING says. Please do read the chapter "Staying current with ..."; it explains this better than I can. I only included the above to show that it doesn't take many commands. Here are the lines I put in /etc/make.conf. Please adjust! SUP_UPDATE= yes SUPHOST= cvsup2.de.freebsd.org SUPFILE= /usr/share/examples/cvsup/standard-supfile PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile Kai