From owner-freebsd-questions Tue Oct 24 13:24:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rush.telenordia.se (mail.telenordia.se [194.213.64.42]) by hub.freebsd.org (Postfix) with SMTP id 902B537B4C5 for ; Tue, 24 Oct 2000 13:24:46 -0700 (PDT) Received: (qmail 5301 invoked from network); 24 Oct 2000 22:24:42 +0200 Received: from bb-62-5-7-17.bb.tninet.se (HELO marbsd.tninet.se) (62.5.7.17) by mail.telenordia.se with SMTP; 24 Oct 2000 22:24:42 +0200 From: Mark Rowlands To: Salvo Bartolotta , freebsd-questions@freebsd.org Subject: Re: make world procedure Date: Tue, 24 Oct 2000 22:16:15 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <00102119364401.00512@marbsd.tninet.se> <20001021.21060600@bartequi.ottodomain.org> In-Reply-To: <20001021.21060600@bartequi.ottodomain.org> MIME-Version: 1.0 Message-Id: <00102422202500.05486@marbsd.tninet.se> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 21 Oct 2000, you wrote: > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< > > On 10/21/00, 6:32:46 PM, Mark Rowlands wrote > regarding make world procedure: > > > > running 4.1.1 -stable > > After cvsupping and performing the following > > make buildworld > > make buildkernel KERNEL=MYKERNEL > > make installkernel KERNEL=MYKERNEL > > make world > > > make world = make buildworld + make installworld. > > But your sources are already built (make buildworld step, above). Cf > /usr/src/UPDATING. > > > > > mergemaster > > > > Here you configure what you have built and installed. > > > > after subsequent cvsups is it still necessary to make buildworld? > > Why cvsup then ? :-) > > Authoritative references: the handbook (cf > http://www.freebsd.org/handbook/makeworld.html) and /usr/src/UPDATING > (which is found in your system, after you have cvup'ed). The > /usr/src/UPDATING file is (wait for it) also mentioned in the > handbook. > > > > N.B. cvsupping => updating all your sources (kernel and userland). > > Thus: the updating sequence in /usr/src/UPDATING is > {necessary,recommended, officially supported} in order to update the > **whole** of your system (ie kernel & userland); which updating > sequence is to be viewed as a single operation. > > You are normally supposed to update all of your system in one > operation -- unless you know **exactly/perfectly** what you are doing > and/or you have reason for doing otherwise (eg importing and tuning a > newer version of perl). > > BTW, if you try and build only your kernel in the traditional way, the > build may fail. On a related note, FreeBSD != Linux. Rather, you keep > kernel and userland in sync: you update your system as a whole. > > The reason for the buildkernel & installkernel targets: sometimes, the > build of a kernel may depend on other pieces of software (ie newer > tools). The "make buildworld" step, in fact, builds those tools. > That's why you first make buildworld and then you make buildkernel & > installkernel... > > > > > In the light of the above considerations, it should now be clear that, > if you haven't updated your sources, you can safely follow the > standard/traditional kernel build procedure. > > I have almost written a tutorial :-) > > HTH, > Salvo (in a good mood) > Many thanks Salvo .... the mists of confusion recede (no doubt to be replaced by the fogs of uncertainty. -- These are just my opinions you are free to disagree please do so quietly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message