Miscellaneous adjustments.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3244 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Alex Gronenwoud 2004-02-09 22:44:26 +00:00
parent 39892f15d1
commit c76accc624
9 changed files with 20 additions and 40 deletions

View File

@ -1,11 +0,0 @@
<sect1 id="ch-scatter-version" xreflabel="Chapter 1 - Book Version">
<title>Book version</title>
<?dbhtml filename="version.html" dir="chapter01"?>
<para>This is version &version; of the Linux From Scratch book, dated
&releasedate;. If this book is more than three months old, a newer and better
version is probably already available. To find out, check one of the mirrors
listed on <ulink url="&lfs-root;"/>.</para>
</sect1>

View File

@ -170,7 +170,7 @@ Make (&make-version;) - &make-size;:
<ulink url="http://freshmeat.net/projects/gnumake"/> <ulink url="http://freshmeat.net/projects/gnumake"/>
Make_devices (&makedev-version;) - &makedev-size;: Make_devices (&makedev-version;) - &makedev-size;:
<ulink url="&http-down;~alex/Make_devices-&makedev-version;.bz2"/> <ulink url="&lfs-root;~alex/make_devices-&makedev-version;.bz2"/>
Man (&man-version;) - &man-size;: Man (&man-version;) - &man-size;:
<ulink url="http://freshmeat.net/projects/man/"/> <ulink url="http://freshmeat.net/projects/man/"/>

View File

@ -58,10 +58,10 @@ strangely enough insists on linking against the host's libraries (libgd,
libpng, libz, and so forth).</para></listitem> libpng, libz, and so forth).</para></listitem>
<listitem><para><userinput>--without-cvs</userinput>: This is meant to prevent <listitem><para><userinput>--without-cvs</userinput>: This is meant to prevent
the Makefiles from attempting automatic CVS commits when using a CVS snapshot. the Makefiles from attempting automatic CVS checkouts when using a CVS
But it's not actually needed these days. We use it because it silences an snapshot. But it's not actually needed these days. We use it because it
annoying but harmless warning about a missing <filename>autoconf</filename> suppresses an annoying but harmless warning about a missing
program.</para></listitem> <command>autoconf</command> program.</para></listitem>
</itemizedlist> </itemizedlist>
<para>During this stage you might see the following warning:</para> <para>During this stage you might see the following warning:</para>

View File

@ -24,8 +24,7 @@ can automatically configure source code.</para>
<screen><userinput>make</userinput></screen> <screen><userinput>make</userinput></screen>
<para>To have the results tested, issue: <para>To have the results tested, issue:
<userinput>make check</userinput>.This takes a long time, about 2 SBUs, <userinput>make check</userinput>. This takes a long time, about 2 SBUs.</para>
and is strictly optional.</para>
<para>And install the package:</para> <para>And install the package:</para>

View File

@ -25,8 +25,7 @@ with Autoconf.</para>
<screen><userinput>make</userinput></screen> <screen><userinput>make</userinput></screen>
<para>To have the results tested, issue: <para>To have the results tested, issue:
<userinput>make check</userinput>. This takes a long time, about 4 SBUs, <userinput>make check</userinput>. This takes a long time, about 5 SBUs.</para>
and is strictly optional.</para>
<para>Install the package:</para> <para>Install the package:</para>

View File

@ -255,16 +255,17 @@ dialout:x:10:
audio:x:11: audio:x:11:
<userinput>EOF</userinput></screen> <userinput>EOF</userinput></screen>
<para>The created groups aren't part of any standard -- they are the groups <para>The created groups aren't part of any standard -- they are some of the
that the MAKEDEV script in the next section uses. Besides the group "root", the groups that the <command>make_devices</command> script in the next section
LSB (<ulink url="http://www.linuxbase.org"/>) recommends only a group "bin", uses. The LSB (<ulink url="http://www.linuxbase.org">Linux Standard
with a GID of 1, be present. All other group names and GIDs can be chosen Base</ulink>) recommends only that, beside the group "root" with a GID of 0, a
freely by the user, as well-written packages don't depend on GID numbers but group "bin" with a GID of 1 be present. All other group names and GIDs can
use the group's name.</para> be chosen freely by the system administrator, since well-written packages don't
depend on GID numbers but use the group's name.</para>
<para>To get rid of the "I have no name!" prompt, we will start a new shell. <para>To get rid of the "I have no name!" prompt, we will start a new shell.
Since we installed a full Glibc in <xref linkend="chapter-temporary-tools"/>, and have just Since we installed a full Glibc in <xref linkend="chapter-temporary-tools"/>,
created the <filename>/etc/passwd</filename> and and have just created the <filename>/etc/passwd</filename> and
<filename>/etc/group</filename> files, user name and group name resolution <filename>/etc/group</filename> files, user name and group name resolution
will now work.</para> will now work.</para>

View File

@ -23,11 +23,9 @@ days.</para></note>
<para>Ed normally uses the <emphasis>mktemp</emphasis> function to create <para>Ed normally uses the <emphasis>mktemp</emphasis> function to create
temporary files in <filename class="directory">/tmp</filename>, but this temporary files in <filename class="directory">/tmp</filename>, but this
function contains a vulnerability (see the section on Temporary Files in <ulink function contains a vulnerability (see the section on Temporary Files in <ulink
url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). The url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). Apply
following patch makes Ed use <emphasis>mkstemp</emphasis> instead, which is the following patch to make Ed use <emphasis>mkstemp</emphasis> instead, a
the recommended way to create temporary files.</para> secure way to create temporary files:</para>
<para>Apply the patch:</para>
<screen><userinput>patch -Np1 -i ../&ed-patch;</userinput></screen> <screen><userinput>patch -Np1 -i ../&ed-patch;</userinput></screen>

View File

@ -63,11 +63,6 @@ you are satisfied, run the script to create the device files:</para>
<screen><userinput>cd /dev <screen><userinput>cd /dev
./make_devices</userinput></screen> ./make_devices</userinput></screen>
<para>(The FHS states that there should be a <filename>MAKEDEV</filename>
script present in the <filename class="directory">/dev</filename> directory.
But the FHS is mistaken: it should not dictate anything about files, and limit
itself to directories.)</para>
<para>If you had success with mounting the devpts file system earlier in <xref <para>If you had success with mounting the devpts file system earlier in <xref
linkend="ch-system-proc"/>, you can continue with the next section. If you were linkend="ch-system-proc"/>, you can continue with the next section. If you were
unable to mount devpts, now is the time to try the alternatives. If your kernel unable to mount devpts, now is the time to try the alternatives. If your kernel

View File

@ -17,8 +17,7 @@
<para>Prepare Tar for compilation:</para> <para>Prepare Tar for compilation:</para>
<screen><userinput>./configure --prefix=/usr --bindir=/bin \ <screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/sbin</userinput></screen>
<para>Compile the package:</para> <para>Compile the package:</para>