Modernize the question relating to whether sources need to be installed.

Reviewed by:	dougb
Approved by:	wblock
This commit is contained in:
Eitan Adler 2012-07-22 22:19:37 +00:00
parent 8a7490587c
commit 7411a48417
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39248

View file

@ -1813,35 +1813,17 @@
<qandaentry> <qandaentry>
<question id="need-complete-sources"> <question id="need-complete-sources">
<para>Do I need to install the complete sources?</para> <para>Do I need to install the source?</para>
</question> </question>
<answer> <answer>
<para>In general, no. However, we would strongly recommend <para>In general, no. There is nothing in the base
that you install, at a minimum, the <literal>base</literal> system which requires the presence of the source to
source kit, which includes several of the files mentioned operate. Some ports, like <filename
here, and the <literal>sys</literal> (kernel) source kit, role="package">sysutils/lsof</filename>, will not build
which includes sources for the kernel. There is nothing in unless the source is installed. In particular, if the
the system which requires the presence of the sources to port builds a kernel module or directly operates on kernel
operate, however, except for the kernel-configuration structures, the source must be installed.</para>
program &man.config.8;. With the exception of the kernel
sources, our build structure is set up so that you can
read-only mount the sources from elsewhere via NFS and still
be able to make new binaries (due to the kernel-source
restriction, we recommend that you not mount this on
<filename class="directory">/usr/src</filename> directly, but
rather in some other location with appropriate symbolic
links to duplicate the top-level structure of the source
tree).</para>
<para>Having the sources on-line and knowing how to build a
system with them will make it much easier for you to upgrade
to future releases of &os;.</para>
<para>To actually select a subset of the sources, use the
<guimenuitem>Custom</guimenuitem> menu item when you are in
the <guimenuitem>Distributions</guimenuitem> menu of the
system installation tool.</para>
</answer> </answer>
</qandaentry> </qandaentry>