From owner-freebsd-questions@FreeBSD.ORG Sat Jan 1 19:44:05 2011 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 27836106564A for ; Sat, 1 Jan 2011 19:44:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id DC0BC8FC0A for ; Sat, 1 Jan 2011 19:44:04 +0000 (UTC) Received: from r55.edvax.de (port-92-195-37-207.dynamic.qsc.de [92.195.37.207]) by mx02.qsc.de (Postfix) with ESMTP id 6A06D1E331; Sat, 1 Jan 2011 20:44:02 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p01Ji2Mt001998; Sat, 1 Jan 2011 20:44:02 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 1 Jan 2011 20:44:01 +0100 From: Polytropon To: Chip Camden Message-Id: <20110101204401.62602973.freebsd@edvax.de> In-Reply-To: <20110101192311.GE66527@libertas.local.camdensoftware.com> References: <20110101183822.GB66527@libertas.local.camdensoftware.com> <20110101195330.41ca6a26.freebsd@edvax.de> <20110101192311.GE66527@libertas.local.camdensoftware.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: csup and build question 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: Sat, 01 Jan 2011 19:44:05 -0000 On Sat, 1 Jan 2011 11:23:11 -0800, Chip Camden wrote: > Quoth Polytropon on Saturday, 01 January 2011: > > On Sat, 1 Jan 2011 10:38:22 -0800, Chip Camden wrote: > > > At the risk of confirming my reputation for asking stupid questions: > > > > > > If a csup only pulls files in /usr/src/sys, is it safe to assume that the > > > only rebuilding steps required are to rebuild and install the kernel? Or > > > is it possible that world could require a rebuild to take advantage of > > > some of those kernel changes? > > > > Kernel and world should ALWAYS be in sync, this means you > > should update the full /usr/src tree, not just its sys/ > > subtree, as other files, located at a higher level, may > > be important (such as /usr/src/Makefile). > > > > That wasn't my question. I always do a full csup, but sometimes it only > pulls files in /usr/src/sys (because those are the only ones that have > changed since my last csup/build). In that case, is a buildworld > required? If programs or other components of the world do have to be in sync with kernel or system files (sys/*.h), then I conclude that world also has to be compiled. In this regards, it means a change of the kernel, and if the kernel did change, kernel and world are out of sync, which implies that both have to be compiled. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...