Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 22:16:15 +0200
From:      Mark Rowlands <mark.rowlands@minmail.net>
To:        Salvo Bartolotta <bartequi@inwind.it>, freebsd-questions@freebsd.org
Subject:   Re: make world procedure
Message-ID:  <00102422202500.05486@marbsd.tninet.se>
In-Reply-To: <20001021.21060600@bartequi.ottodomain.org>
References:  <00102119364401.00512@marbsd.tninet.se> <20001021.21060600@bartequi.ottodomain.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Oct 2000, you wrote:
> >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
> 
> On 10/21/00, 6:32:46 PM, Mark Rowlands <mark.rowlands@minmail.net> 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.
> 
> <gasp> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00102422202500.05486>