From owner-freebsd-questions@FreeBSD.ORG Thu Aug 16 23:48:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68A83106566C for ; Thu, 16 Aug 2012 23:48:25 +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 292A18FC0C for ; Thu, 16 Aug 2012 23:48:25 +0000 (UTC) Received: from r56.edvax.de (port-92-195-32-97.dynamic.qsc.de [92.195.32.97]) by mx01.qsc.de (Postfix) with ESMTP id 9243B3CE9E; Fri, 17 Aug 2012 01:48:18 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q7GNmIin002061; Fri, 17 Aug 2012 01:48:18 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 17 Aug 2012 01:48:18 +0200 From: Polytropon To: Walter Hurry Message-Id: <20120817014818.68279be3.freebsd@edvax.de> In-Reply-To: References: 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 Subject: Re: freebsd-update and csup - I'm going around in circles. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2012 23:48:25 -0000 On Thu, 16 Aug 2012 21:24:37 +0000 (UTC), Walter Hurry wrote: > Every time I run "freebsd-update fetch" it says it wants to update the > following 5 source files "as part of updating to 9.0-RELEASE-p4": > > /usr/src/sys/amd64/amd64/trap.c > /usr/src/sys/conf/newvers.sh > /usr/src/sys/netinet/tcp_input.c > /usr/src/sys/netinet6/in6.c > /usr/src/sys/netinet6/ip6_input.c > > So I run "freebsd-update install" and they are updated happily. > > But when I run csup with my standard-supfile, it puts the same 5 files > back to where they were. Not "and". Why are you mixing tools here? You're shooting your own foot. :-) You use _either_ freebsd-update to update your system the binary way, _or_ you use csup to update your sources and then compile your system from that sources. Solution: Don't use csup. :-) Side note: Check your update configuration files so they reflect the proper branch you want to follow. With freebsd-update you follow the -RELEASE-pX branch, with csup you can a) follow -RELEASE-pX b) follow -STABLE c) follow -CURRENT Note that you should not mix those! You can always switch branches when using the source code based method (csup), but you should not do so using freebsd-update. An example configuration to follow -RELEASE-pX using the csup method with "make update" would look like this: % cat /etc/sup/release.sup *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_9_0 *default delete use-rel-suffix *default compress src-all Together with the selection in /etc/make.conf: SUP_UPDATE= YES SUP= /usr/bin/csup SUPFLAGS= -L 2 SUPHOST= cvsup.freebsd.org SUPFILE= /etc/sup/release.sup PORTSSUPFILE= /etc/sup/ports.sup DOCSUPFILE= /etc/sup/doc.sup DOC_LANG= en_US.ISO8859-1 de_DE.ISO8859-1 you can easily control the process. (Sidenote: I also have /etc/sup/stable.sup which looks like the example provided, but has tag=RELENG_9 in it. You could also use tag=RELENG_9_0_0_RELEASE to revert back to 9.0-RELEASE.) You can find an example for what the CVS tags mean here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...