Date: Sun, 17 Mar 2013 23:16:37 +0100 From: Polytropon <freebsd@edvax.de> To: Drew Tomlinson <drew@mykitchentable.net> Cc: freebsd-questions@freebsd.org Subject: Re: Current Way To Update Sources & Rebuild World/Kernel? Message-ID: <20130317231637.555b1711.freebsd@edvax.de> In-Reply-To: <51463EA7.2070108@mykitchentable.net> References: <51463EA7.2070108@mykitchentable.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 17 Mar 2013 15:07:35 -0700, Drew Tomlinson wrote: > I've been away for a while. In the past, the proper way to update a > system was to grab current sources via cvsup and then rebuild world and > kernel. But now I see cvsup is no longer supported. Correct. The new way to obtain sources is via Subversion. The OS will hopefully soon get a csup equivalent (svnup) so you don't need to install a port with heavy dependencies. > The handbook talks > about freebsd-update. I do not want binary upgrades but is this the > tool to replace cvsup to update sources? Basically freebsd-update updates the system binarily, as you said. But it can also be used to only update sources. In order to do this, edit /etc/freebsd-update.conf to contain the line "Components src" (means: you remove all the other components such as "world" and "kernel"). Then you proceed to reinstall from source as known. > How do I use it to replace the > old way that went something like this: > > cvsup sources > make buildworld > make buildkernel > make installkernel > mergemaster > make installworld > > (I'm not sure I have that in the exact proper order but it was something > like that). The exact proper order can be found in the comment header of /usr/src/Makefile. You should stick to that order to avoid problems. Also see the corresponding handbook section. > So is freebsd-update what I need? As explained above - or make yourself familiar with SVN, which is the CVSup / csup replacement. > Is there a page that describes the > steps to accomplish this? See "man freebsd-update" and the comments in /etc/freebsd-update.conf for details. Also see the Handbook's section about updating. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130317231637.555b1711.freebsd>