From owner-freebsd-questions@FreeBSD.ORG Sun Mar 17 22:16:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CFDA3153 for ; Sun, 17 Mar 2013 22:16:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7D79F678 for ; Sun, 17 Mar 2013 22:16:39 +0000 (UTC) Received: from r56.edvax.de (port-92-195-1-27.dynamic.qsc.de [92.195.1.27]) by mx01.qsc.de (Postfix) with ESMTP id 17CF33CC4C; Sun, 17 Mar 2013 23:16:31 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r2HMGbfW002478; Sun, 17 Mar 2013 23:16:37 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 17 Mar 2013 23:16:37 +0100 From: Polytropon To: Drew Tomlinson 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> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Mar 2013 22:16:39 -0000 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, ...