For the new buildkernel/installkernel targets, /usr/src/* must exist.
release-versions of FreeBSD might only contain /usr/src/sys. The old description lead to misunderstandings for newbies. Clarify that you still have to use the old method if you don't sync src/ with the FreeBSD project. PR: 20136 Reported by: Stephen Montgomery-Smith <stephen@math.missouri.edu> (different patch suggested)
This commit is contained in:
parent
7a947097f5
commit
e22a8d4ce6
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=7711
2 changed files with 20 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml,v 1.28 2000/06/14 00:47:35 jim Exp $
|
||||
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml,v 1.29 2000/07/15 09:38:36 alex Exp $
|
||||
-->
|
||||
|
||||
<chapter id="kernelconfig">
|
||||
|
@ -129,7 +129,10 @@
|
|||
<note>
|
||||
<para>Be sure to always check the file
|
||||
<filename>/usr/src/UPDATING</filename>, before you perform any update
|
||||
steps! In this file all important issues with updating FreeBSD
|
||||
steps, in the case you <link
|
||||
linkend="cutting-edge">sync your source-tree</link> with the
|
||||
latest sources of the FreeBSD project.
|
||||
In this file all important issues with updating FreeBSD
|
||||
are written down. <filename>/usr/src/UPDATING</filename> always fits
|
||||
to your version of the FreeBSD source, and is therefore more accurate
|
||||
for those information than the handbook.</para>
|
||||
|
@ -137,7 +140,10 @@
|
|||
|
||||
<para>When you are finished, type the following to compile and install
|
||||
your kernel if you are using FreeBSD prior FreeBSD 4.0 and don't
|
||||
want to upgrade to FreeBSD 4.0 or higher with this step.</para>
|
||||
want to upgrade to FreeBSD 4.0 or higher with this step,
|
||||
or if you are using a release-version of FreeBSD and your
|
||||
<filename>/usr/src/</filename> directory only contains the
|
||||
<filename>sys/</filename> sub-directory.</para>
|
||||
|
||||
<note>
|
||||
<para>If you are trying to upgrade your kernel from an older version
|
||||
|
@ -156,7 +162,7 @@
|
|||
|
||||
<para>For FreeBSD 4.x or later (or upgrading from FreeBSD 3.x to
|
||||
FreeBSD 4.x or higher), use the following commands (be sure you
|
||||
have built world before!):</para>
|
||||
have <link linkend="cutting-edge">built world</link> before!):</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/src</userinput>
|
||||
&prompt.root; <userinput>make buildkernel KERNEL=MYKERNEL</userinput>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml,v 1.28 2000/06/14 00:47:35 jim Exp $
|
||||
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml,v 1.29 2000/07/15 09:38:36 alex Exp $
|
||||
-->
|
||||
|
||||
<chapter id="kernelconfig">
|
||||
|
@ -129,7 +129,10 @@
|
|||
<note>
|
||||
<para>Be sure to always check the file
|
||||
<filename>/usr/src/UPDATING</filename>, before you perform any update
|
||||
steps! In this file all important issues with updating FreeBSD
|
||||
steps, in the case you <link
|
||||
linkend="cutting-edge">sync your source-tree</link> with the
|
||||
latest sources of the FreeBSD project.
|
||||
In this file all important issues with updating FreeBSD
|
||||
are written down. <filename>/usr/src/UPDATING</filename> always fits
|
||||
to your version of the FreeBSD source, and is therefore more accurate
|
||||
for those information than the handbook.</para>
|
||||
|
@ -137,7 +140,10 @@
|
|||
|
||||
<para>When you are finished, type the following to compile and install
|
||||
your kernel if you are using FreeBSD prior FreeBSD 4.0 and don't
|
||||
want to upgrade to FreeBSD 4.0 or higher with this step.</para>
|
||||
want to upgrade to FreeBSD 4.0 or higher with this step,
|
||||
or if you are using a release-version of FreeBSD and your
|
||||
<filename>/usr/src/</filename> directory only contains the
|
||||
<filename>sys/</filename> sub-directory.</para>
|
||||
|
||||
<note>
|
||||
<para>If you are trying to upgrade your kernel from an older version
|
||||
|
@ -156,7 +162,7 @@
|
|||
|
||||
<para>For FreeBSD 4.x or later (or upgrading from FreeBSD 3.x to
|
||||
FreeBSD 4.x or higher), use the following commands (be sure you
|
||||
have built world before!):</para>
|
||||
have <link linkend="cutting-edge">built world</link> before!):</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/src</userinput>
|
||||
&prompt.root; <userinput>make buildkernel KERNEL=MYKERNEL</userinput>
|
||||
|
|
Loading…
Reference in a new issue