Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 16:55:42 -0000
From:      "Edmund Craske" <edmund@m00is.net>
To:        "'Kai Grossjohann'" <kai@emptydomain.de>, <freebsd-questions@freebsd.org>
Subject:   RE: How to build FreeBSD entirely from sources?
Message-ID:  <002801c3e751$e5a26be0$0464a8c0@alpha>
In-Reply-To: <87wu79e7rl.fsf@emptyhost.emptydomain.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Note that the procedure shown will likely break your system
if you're upgrading from 5.1 or earlier, so do:
shutdown -r now
then boot into single user mode, as described in the handbook,
instead of shutdown now.

The process described by Kai is not as depicted in UPDATING...

Edmund Craske

> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org 
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Kai 
> Grossjohann
> Sent: 30 January 2004 16:11
> To: freebsd-questions@freebsd.org
> Subject: Re: How to build FreeBSD entirely from sources?
> 
> 
> Geert Hendrickx <geert.hendrickx@ua.ac.be> 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
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/free>; bsd-questions
> 
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801c3e751$e5a26be0$0464a8c0>