Spelling and other general cleanup.

Use better method for installing kmod man pages.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10489 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2014-02-19 22:21:37 +00:00
parent b83d43e551
commit e043985d03
6 changed files with 27 additions and 27 deletions

View File

@ -81,7 +81,7 @@
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para>[bdubbs] - Update automake tests to accomodate util-linux <para>[bdubbs] - Update automake tests to accommodate util-linux
in /tools and to speed the test up. in /tools and to speed the test up.
</para> </para>
</listitem> </listitem>
@ -200,7 +200,7 @@
<listitem> <listitem>
<para>[bdubbs] - Add an environment variable to util-linux <para>[bdubbs] - Add an environment variable to util-linux
in Chapter 5 to prevent an installation error for in Chapter 5 to prevent an installation error for
hosts that have unneeded capabilities availible.</para> hosts that have unneeded capabilities available.</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
@ -300,7 +300,7 @@
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para>[bdubbs] - Update to inetutils-1.9.2 and remove <para>[bdubbs] - Update to inetutils-1.9.2 and remove
referece to old BLFS page. Fixes reference to old BLFS page. Fixes
<ulink url="&lfs-ticket-root;3471">#3471</ulink> and <ulink url="&lfs-ticket-root;3471">#3471</ulink> and
<ulink url="&lfs-ticket-root;3473">#3473</ulink>.</para> <ulink url="&lfs-ticket-root;3473">#3473</ulink>.</para>
</listitem> </listitem>
@ -452,12 +452,12 @@
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para>[bdubbs] - Enable building sulogin in util-linux. <para>[bdubbs] - Enable building sulogin in util-linux.
Supress installing sysvinit's sulogin. Suppress installing sysvinit's sulogin.
Fixes Fixes
<ulink url="&lfs-ticket-root;3435">#3435</ulink>.</para> <ulink url="&lfs-ticket-root;3435">#3435</ulink>.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>[bdubbs] - Supress installing sysvinit's mesg and last <para>[bdubbs] - Suppress installing sysvinit's mesg and last
that overwrite the versions installed by util-linux. that overwrite the versions installed by util-linux.
Thanks to Chris Staub. Fixes Thanks to Chris Staub. Fixes
<ulink url="&lfs-ticket-root;3434">#3434</ulink>.</para> <ulink url="&lfs-ticket-root;3434">#3434</ulink>.</para>

View File

@ -44,7 +44,7 @@
<title>Installation of Gettext</title> <title>Installation of Gettext</title>
<para>For our temporary set of tools, we only need to build and install <para>For our temporary set of tools, we only need to build and install
one binary from Gettext.</para> three programs from Gettext.</para>
<para>Prepare Gettext for compilation:</para> <para>Prepare Gettext for compilation:</para>
@ -76,16 +76,19 @@ EMACS="no" ./configure --prefix=/tools --disable-shared</userinput></screen>
<para>Compile the package:</para> <para>Compile the package:</para>
<screen><userinput remap="make">make -C gnulib-lib <screen><userinput remap="make">make -C gnulib-lib
make -C src msgfmt</userinput></screen> make -C src msgfmt
make -C src msgmerge
make -C src xgettext</userinput></screen>
<para>As only one binary has been compiled, it is not possible to run the <para>As only three prograsm have been compiled, it is not possible to run the
test suite without compiling additional support libraries from the Gettext test suite without compiling additional support libraries from the Gettext
package. It is therefore not recommended to attempt to run the test suite at package. It is therefore not recommended to attempt to run the test suite at
this stage.</para> this stage.</para>
<para>Install the <command>msgfmt</command> binary:</para> <para>Install the <command>msgfmt</command>, <command>msgmerge</command> and
<command>xgettext</command> programs:</para>
<screen><userinput remap="install">cp -v src/msgfmt /tools/bin</userinput></screen> <screen><userinput remap="install">cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin</userinput></screen>
</sect2> </sect2>

View File

@ -75,7 +75,7 @@
<para>Setting this envronment variable prevents adding unneeded <para>Setting this envronment variable prevents adding unneeded
features that may be available on the host. Note that the location features that may be available on the host. Note that the location
shown for setting this environment variable is different from other shown for setting this environment variable is different from other
LFS sections where variables are set preceeding the command. This LFS sections where variables are set preceding the command. This
location is shown to demonstrate an alternative way of setting an location is shown to demonstrate an alternative way of setting an
environment variable when using configure.</para> environment variable when using configure.</para>
</listitem> </listitem>

View File

@ -89,11 +89,9 @@ sed -i 's/find:=${BINDIR}/find:=\/bin/' /usr/bin/updatedb</userinput></screen>
<segmentedlist> <segmentedlist>
<segtitle>Installed programs</segtitle> <segtitle>Installed programs</segtitle>
<segtitle>Installed directory</segtitle>
<seglistitem> <seglistitem>
<seg>bigram, code, find, frcode, locate, oldfind, updatedb, and xargs</seg> <seg>bigram, code, find, frcode, locate, oldfind, updatedb, and xargs</seg>
<seg>/usr/lib/findutils</seg>
</seglistitem> </seglistitem>
</segmentedlist> </segmentedlist>

View File

@ -88,21 +88,19 @@
<screen><userinput remap="test">make check</userinput></screen> <screen><userinput remap="test">make check</userinput></screen>
<para>Install the package, create symlinks for compatibility with <para>Install the package, man pages, and create symlinks for
Module-Init-Tools (the package that previously handled Linux kernel compatibility with Module-Init-Tools (the package that previously handled
modules), and manually install the man pages. Also make sure that all Linux kernel modules). Also make sure that all libraries are in the
libraries are in the correct directory: </para> correct directory: </para>
<screen><userinput remap="install">make install <screen><userinput remap="install">make install
make -C man install
for target in depmod insmod modinfo modprobe rmmod; do for target in depmod insmod modinfo modprobe rmmod; do
ln -sv ../bin/kmod /sbin/$target ln -sv ../bin/kmod /sbin/$target
done done
ln -sv kmod /bin/lsmod ln -sv kmod /bin/lsmod</userinput></screen>
cp -v man/*.5 /usr/share/man/man5
cp -v man/*.8 /usr/share/man/man8</userinput></screen>
</sect2> </sect2>

View File

@ -12,12 +12,13 @@
<para>The primary target architectures of LFS are the AMD/Intel x86 (32-bit) <para>The primary target architectures of LFS are the AMD/Intel x86 (32-bit)
and x86_64 (64-bit) CPUs. On the other hand, the instructions in this book are and x86_64 (64-bit) CPUs. On the other hand, the instructions in this book are
also known to work, with some modifications, with the Power PC CPU. To build a also known to work, with some modifications, with the Power PC and ARM CPUs. To
system that utilizes one of these CPUs, the main prerequisite, in addition to build a system that utilizes one of these CPUs, the main prerequisite, in
those on the next few pages, is an existing Linux system such as an earlier LFS addition to those on the next few pages, is an existing Linux system such as an
installation, Ubuntu, Red Hat/Fedora, SuSE, or other distribution that targets earlier LFS installation, Ubuntu, Red Hat/Fedora, SuSE, or other distribution
the architecture that you have. Also note that a 32-bit distribution can be that targets the architecture that you have. Also note that a 32-bit
installed and used as a host system on a 64-bit AMD/Intel computer.</para> distribution can be installed and used as a host system on a 64-bit AMD/Intel
computer.</para>
<para>Some other facts about 64-bit systems need to be added here. When <para>Some other facts about 64-bit systems need to be added here. When
compared to a 32-bit system, the sizes of executable programs are slightly compared to a 32-bit system, the sizes of executable programs are slightly