The description about installing the system sources are no longer

accurate in newer FreeBSD versions, since sysinstall is not there
anymore. Therefore, provide a more general way that fits both
cases by refering to the section in the handbook about synching
the system sources.

PR:		docs/165410
Submitted by:	Fernando (fernando dot apesteguia at gmail dot com)
Patch by:	crees (slightly modified by me)
This commit is contained in:
Benedict Reuschling 2012-06-11 14:59:39 +00:00
parent c0d33fc7f1
commit 51e60e4791
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39025

View file

@ -300,13 +300,9 @@ following line in &man.loader.conf.5;:
<para>If the directory <filename>/usr/src/</filename> does not
exist on your system (or if it is empty), then the sources have
not been installed. The easiest way to install the full source
tree is to run <command>sysinstall</command> as
<username>root</username>, and then choosing
<guimenuitem>Configure</guimenuitem>, then
<guimenuitem>Distributions</guimenuitem>, then
<guimenuitem>src</guimenuitem>, and finally
<guimenuitem>All</guimenuitem>. If it does not exist, you should
also create a symlink to <filename>/usr/src/sys/</filename>:</para>
is to use &man.csup.1; as described in <xref
linkend="synching">. You should also create a symlink to
<filename class="directory">/usr/src/sys/</filename>:</para>
<screen>&prompt.root; <userinput>ln -s /usr/src/sys /sys</userinput></screen>
</note>