From owner-freebsd-stable@FreeBSD.ORG Thu Jan 24 17:10:38 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5C1E5264 for ; Thu, 24 Jan 2013 17:10:38 +0000 (UTC) (envelope-from gyrd-nani@thanelange.no) Received: from smtp.getmail.no (smtp.getmail.no [84.208.15.66]) by mx1.freebsd.org (Postfix) with ESMTP id F3ED6804 for ; Thu, 24 Jan 2013 17:10:37 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1 Received: from get-mta-scan04.get.basefarm.net ([10.5.16.4]) by get-mta-out02.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0MH5007H93PPQE80@get-mta-out02.get.basefarm.net> for freebsd-stable@freebsd.org; Thu, 24 Jan 2013 18:10:37 +0100 (MET) Received: from get-mta-scan04.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 257F21EF9569_1016B0DB for ; Thu, 24 Jan 2013 17:10:37 +0000 (GMT) Received: from smtp.getmail.no (unknown [10.5.16.4]) by get-mta-scan04.get.basefarm.net (Sophos Email Appliance) with ESMTP id 0491E1EF9565_1016B0DF for ; Thu, 24 Jan 2013 17:10:37 +0000 (GMT) Received: from cm-84.211.88.167.getinternet.no ([84.211.88.167]) by get-mta-in02.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with SMTP id <0MH500DU43POQ900@get-mta-in02.get.basefarm.net> for freebsd-stable@freebsd.org; Thu, 24 Jan 2013 18:10:36 +0100 (MET) Received: (qmail 35772 invoked by uid 89); Thu, 24 Jan 2013 18:10:36 +0100 Received: from unknown (HELO ?10.0.10.184?) (gyrd@thanelange.no@77.241.104.2) by cm-84.211.88.167.getinternet.no with SMTP; Thu, 24 Jan 2013 18:10:36 +0100 Message-id: <51016B0C.7040505@thanelange.no> Date: Thu, 24 Jan 2013 18:10:36 +0100 From: Gyrd Thane Lange User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 To: "Patrick M. Hausen" Subject: Re: svn - but smaller? References: <20130123144050.GG51786@e-Gitt.NET> <5101433A.2080506@thanelange.no> <605D3FD2-E631-4A66-8DA2-2BC4EF84AF0F@punkt.de> In-reply-to: <605D3FD2-E631-4A66-8DA2-2BC4EF84AF0F@punkt.de> Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 17:10:38 -0000 On 24.01.2013 15:46, Patrick M. Hausen wrote: > Hi, all, > > Am 24.01.2013 um 15:20 schrieb Gyrd Thane Lange : >> It is not a well publicized fact, but I understand that the base utility freebsd-update(8) through it's freebsd-update.conf(5) is able to pull the base sources (/usr/src/) only instead of also updating your binaries. >> >> less /etc/freebsd-update.conf >> >> # Components of the base system which should be kept updated. >> Components src world kernel >> >> The above setting is the default, but you may easily leave out everything but "src". (Caveat: I have not tried it myself yet.) >> It also have some optional settings for preserving local changes to the source instead of blowing them away (default). >> >> This will allow you to use the sources for a custom build and install yourself. > > > I tried that and found that at least /usr/src/UPDATING was not touched by freebsd-update. > See on this list. > > Any hints welcome - must have been doing someting wrong. I just tried (src only), from an 8.2 system: # freebsd-update -r 8.3-RELEASE upgrade # freebsd-update install This gave me the same experience as you. The latest entry in UPDATING is 20120411: 8.3-RELEASE (The good news is that it actually updated it from 8.2 to 8.3, so it did not ignore it completely.) But all other files under the /usr/src/ hierarchy is properly updated. For instance: # egrep '^(REVISION|BRANCH)' /usr/src/sys/conf/newvers.sh REVISION="8.3" BRANCH="RELEASE-p5" This gives me some confidence that I've got the important bits from -p5, even though UPDATING remains at unpatched level. I guess there is some bug or misconfiguration on the server side of freebsd-update that ignores some files. I have no idea. ;-) In short, I think you used the correct commands, and that it is reasonable to expect the /usr/src/UPDATING file to be updated. Regards, Gyrd ^_^ > > Thanks > Patrick >