How to build FreeBSD entirely from sources?
edmund at m00is.net
Fri Jan 30 08:57:20 PST 2004
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...
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Kai
> Sent: 30 January 2004 16:11
> To: freebsd-questions at freebsd.org
> Subject: Re: How to build FreeBSD entirely from sources?
> Geert Hendrickx <geert.hendrickx at 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
> 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
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/free> bsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions