Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2000 21:06:06 GMT
From:      Salvo Bartolotta <bartequi@inwind.it>
To:        Mark Rowlands <mark.rowlands@minmail.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: make world procedure
Message-ID:  <20001021.21060600@bartequi.ottodomain.org>
References:  <00102119364401.00512@marbsd.tninet.se>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>>>>>>>>>>>>>>> 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=3DMYKERNEL
> make installkernel KERNEL=3DMYKERNEL
> make world


make world =3D 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 =3D> 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 !=3D 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)





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?20001021.21060600>