From owner-freebsd-questions@FreeBSD.ORG Tue Mar 19 21:07:50 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 BD33446E for ; Tue, 19 Mar 2013 21:07:50 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from rc1.surewest.net (rc1.surewest.net [66.60.130.50]) by mx1.freebsd.org (Postfix) with ESMTP id 961D7758 for ; Tue, 19 Mar 2013 21:07:50 +0000 (UTC) Received: from smtp2.surewest.net ([66.60.130.145]) by rc1.surewest.net ({dfaaa318-551d-4a0a-8038-7c31cf31c4f6}) via TCP (outbound) with ESMTP id 20130319210652017; Tue, 19 Mar 2013 21:06:52 +0000 X-RC-FROM: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp2.surewest.net (Postfix) with ESMTP id B1E3989458; Tue, 19 Mar 2013 14:06:49 -0700 (PDT) Received: from blacklamb.mykitchentable.net (mykitchentable.net [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTPSA id 90A759C2DD; Tue, 19 Mar 2013 14:06:49 -0700 (PDT) Received: from [127.0.0.1] (tagalong-II.mykitchentable.net [192.168.1.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id E1343165746; Tue, 19 Mar 2013 14:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1363727209; bh=o1KMrLTPxsUhiEOBqTHUDhNSVMV9YnQkSrEDxw2aiog=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=15EF+NRIkE/yNKEGpfqJ0iVr6EjjFWNtMcUahhWRzdcUkBPlWBMm+w9qoXCp6HGhK 2xkIFPMzilEm9f/w8f8cfSu53PL6nrtznkv8UaoIrq20Y2f3QnKQqvL3y5UO+ENE1y cqO/8Dt83N5R50hdzpzBUf2DB6EQYrfZgYf0u8F0= Message-ID: <5148D361.8040102@mykitchentable.net> Date: Tue, 19 Mar 2013 14:06:41 -0700 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: Polytropon Subject: Re: Current Way To Update Sources & Rebuild World/Kernel? -- SOLVED References: <51463EA7.2070108@mykitchentable.net> <20130317231637.555b1711.freebsd@edvax.de> In-Reply-To: <20130317231637.555b1711.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130319-0, 03/19/2013), Outbound message X-Antivirus-Status: Clean X-MAG-OUTBOUND: surewest.redcondor.net@66.60.130.145/32 Cc: ml@my.gd, freebsd-questions@freebsd.org, patfbsd@davenulle.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 21:07:50 -0000 On 3/17/2013 3:16 PM, Polytropon wrote: > 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. Thanks for the replies. Using freebsd-update seemed the simplest method since it was already included. Worked just fine for getting the sources. And following the steps listed in comments in /usr/src/Makefile worked for building and installing the sources. Cheers, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com