mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
Billy's lilo and man conversion.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2386 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
0397b61e3f
commit
d9ed058fa0
@ -1,3 +1,5 @@
|
||||
<sect2><title> </title><para> </para></sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Lilo Installation Dependencies</title>
|
||||
|
||||
|
@ -1,11 +1,10 @@
|
||||
<sect2><title>Contents of Lilo</title>
|
||||
<sect2><title> </title><para> </para></sect2>
|
||||
|
||||
<sect2><title>Descriptions</title>
|
||||
|
||||
<para>Last checked against version &lilo-contversion;.</para>
|
||||
|
||||
<sect3><title>Program Files</title>
|
||||
<para>lilo, mkrescue and keytab-lilo.pl</para></sect3>
|
||||
|
||||
<sect3><title>Descriptions</title>
|
||||
<sect3><title>Program file descriptions</title>
|
||||
|
||||
<sect4><title>lilo</title>
|
||||
<para>lilo installs the Linux boot loader which is used to start a Linux
|
||||
|
12
appendixa/lilo-shortdesc.xml
Normal file
12
appendixa/lilo-shortdesc.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<sect2><title>Contents of Lilo</title>
|
||||
|
||||
<para>Last checked against version &lilo-contversion;.</para>
|
||||
|
||||
<para>Lilo is the LInux LOader.</para>
|
||||
|
||||
<para>Lilo installs the following:</para>
|
||||
|
||||
<sect3><title>Program Files</title>
|
||||
<para>lilo, mkrescue and keytab-lilo.pl</para></sect3>
|
||||
|
||||
</sect2>
|
@ -3,6 +3,7 @@
|
||||
<?dbhtml filename="lilo.html" dir="appendixa"?>
|
||||
|
||||
&aa-lilo-down;
|
||||
&aa-lilo-shortdesc;
|
||||
&aa-lilo-desc;
|
||||
&aa-lilo-dep;
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
<sect2><title> </title><para> </para></sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Man Installation Dependencies</title>
|
||||
|
||||
|
@ -1,12 +1,10 @@
|
||||
<sect2><title>Contents of Man</title>
|
||||
<sect2><title> </title><para> </para></sect2>
|
||||
|
||||
<sect2><title>Description</title>
|
||||
|
||||
<para>Last checked against version &man-contversion;.</para>
|
||||
|
||||
<sect3><title>Program Files</title>
|
||||
<para>apropos, makewhatis, man, man2dvi, man2html and
|
||||
whatis</para></sect3>
|
||||
|
||||
<sect3><title>Descriptions</title>
|
||||
<sect3><title>Program file descriptions</title>
|
||||
|
||||
<sect4><title>apropos</title>
|
||||
<para>apropos searches for keywords in a set of database files, containing
|
||||
|
14
appendixa/man-shortdesc.xml
Normal file
14
appendixa/man-shortdesc.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<sect2><title>Contents of Man</title>
|
||||
|
||||
<para>Last checked against version &man-contversion;.</para>
|
||||
|
||||
<para>Man is a man pager.</para>
|
||||
|
||||
<para>Man installs the following:</para>
|
||||
|
||||
<sect3><title>Program Files</title>
|
||||
<para>apropos, makewhatis, man, man2dvi, man2html and
|
||||
whatis</para></sect3>
|
||||
|
||||
</sect2>
|
||||
|
@ -3,6 +3,7 @@
|
||||
<?dbhtml filename="man.html" dir="appendixa"?>
|
||||
|
||||
&aa-man-down;
|
||||
&aa-man-shortdesc;
|
||||
&aa-man-desc;
|
||||
&aa-man-dep;
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
<sect2><title> </title><para> </para></sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of Lilo</title>
|
||||
|
||||
@ -5,10 +7,13 @@
|
||||
may wish to choose another. Fabio Fracassi has written a hint on
|
||||
GRUB, which is available at <ulink url="&hints-root;grub-howto.txt"/>.</para>
|
||||
|
||||
<para>Install Lilo by running the following commands:</para>
|
||||
<para>Compile Lilo:</para>
|
||||
|
||||
<para><screen><userinput>make &&
|
||||
make install</userinput></screen></para>
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>It appears that compilation of this package fails on certain machines
|
||||
when the -g compiler flag is used. If you can't compile Lilo at
|
||||
|
@ -5,8 +5,8 @@
|
||||
<screen>Estimated build time: &lilo-time;
|
||||
Estimated required disk space: &lilo-compsize;</screen>
|
||||
|
||||
&c6-lilo-inst;
|
||||
&aa-lilo-desc;
|
||||
&aa-lilo-shortdesc;
|
||||
&aa-lilo-dep;
|
||||
&c6-lilo-inst;
|
||||
|
||||
</sect1>
|
||||
|
@ -1,21 +0,0 @@
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default</userinput>:
|
||||
The paths to some programs get written into man's files. Unfortunately, the
|
||||
configure script picks the last location in PATH rather than the first
|
||||
where a program is found. By appending /usr/bin:/bin to PATH for the
|
||||
./configure command, we make sure that man doesn't use the /static versions
|
||||
of our programs.</para>
|
||||
|
||||
<para><userinput>patch...:</userinput>
|
||||
These three patches comment out one of the lines in the
|
||||
<filename>man.conf</filename> file (MANPATH /usr/man) because it will create
|
||||
redundant results when using programs like <userinput>whatis</userinput>.
|
||||
It also adds the <emphasis>-R</emphasis> option to the
|
||||
<emphasis>PAGER</emphasis> variable so man pages are displayed properly.
|
||||
Lastly, the patch fixes the problem where man pages are not formatted with
|
||||
more than 80 columns when used with the recent groff versions.</para>
|
||||
|
||||
</sect2>
|
||||
|
@ -1,22 +1,56 @@
|
||||
<sect2><title> </title><para> </para></sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of Man</title>
|
||||
|
||||
<para>Run the following commands to install man:</para>
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../man-&man-80cols-patch-version;-80cols.patch &&
|
||||
|
||||
<para>Prepare Man to be compiled:</para>
|
||||
|
||||
<para><screen><userinput>
|
||||
patch -Np1 -i ../man-&man-80cols-patch-version;-80cols.patch &&
|
||||
patch -Np1 -i ../man-&man-manpath-patch-version;-manpath.patch &&
|
||||
patch -Np1 -i ../man-&man-pager-patch-version;-pager.patch &&
|
||||
PATH=$PATH:/usr/bin:/bin \
|
||||
./configure -default -confdir=/etc &&
|
||||
make &&
|
||||
make install</userinput></screen></para>
|
||||
./configure -default -confdir=/etc
|
||||
</userinput></screen></para>
|
||||
|
||||
<para>Note: If you wish to disable SGR escape sequences, you should
|
||||
<para>Continue with compiling the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<note><para>If you wish to disable SGR escape sequences, you should
|
||||
edit the man.conf file and add the <userinput>-c</userinput> argument
|
||||
to nroff.</para>
|
||||
to nroff.</para></note>
|
||||
|
||||
<para>You may want to take a look at the man hint
|
||||
at <ulink url="&hints-root;man.txt"/>, which deals with formatting
|
||||
and compression issues for man pages.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para><userinput>patch...:</userinput>
|
||||
These three patches comment out one of the lines in the
|
||||
<filename>man.conf</filename> file (MANPATH /usr/man) because it will create
|
||||
redundant results when using programs like <userinput>whatis</userinput>.
|
||||
It also adds the <emphasis>-R</emphasis> option to the
|
||||
<emphasis>PAGER</emphasis> variable so man pages are displayed properly.
|
||||
Lastly, the patch fixes the problem where man pages are not formatted with
|
||||
more than 80 columns when used with the recent groff versions.</para>
|
||||
|
||||
<para><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default</userinput>:
|
||||
The paths to some programs get written into man's files. Unfortunately, the
|
||||
configure script picks the last location in PATH rather than the first
|
||||
where a program is found. By appending /usr/bin:/bin to PATH for the
|
||||
./configure command, we make sure that man doesn't use the /static versions
|
||||
of our programs.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -5,10 +5,9 @@
|
||||
<screen>Estimated build time: &man-time;
|
||||
Estimated required disk space: &man-compsize;</screen>
|
||||
|
||||
&c6-man-inst;
|
||||
&c6-man-exp;
|
||||
&aa-man-desc;
|
||||
&aa-man-shortdesc;
|
||||
&aa-man-dep;
|
||||
&c6-man-inst;
|
||||
|
||||
</sect1>
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
<!ENTITY c8-lilo SYSTEM "../chapter08/lilo.xml">
|
||||
|
||||
<!ENTITY aa-lilo SYSTEM "../appendixa/lilo.xml">
|
||||
<!ENTITY aa-lilo-shortdesc SYSTEM "../appendixa/lilo-shortdesc.xml">
|
||||
<!ENTITY aa-lilo-desc SYSTEM "../appendixa/lilo-desc.xml">
|
||||
<!ENTITY aa-lilo-dep SYSTEM "../appendixa/lilo-dep.xml">
|
||||
<!ENTITY aa-lilo-down SYSTEM "../appendixa/lilo-down.xml">
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
<!ENTITY c6-man SYSTEM "../chapter06/man.xml">
|
||||
<!ENTITY c6-man-inst SYSTEM "../chapter06/man-inst.xml">
|
||||
<!ENTITY c6-man-exp SYSTEM "../chapter06/man-exp.xml">
|
||||
|
||||
<!ENTITY aa-man SYSTEM "../appendixa/man.xml">
|
||||
<!ENTITY aa-man-shortdesc SYSTEM "../appendixa/man-shortdesc.xml">
|
||||
<!ENTITY aa-man-desc SYSTEM "../appendixa/man-desc.xml">
|
||||
<!ENTITY aa-man-dep SYSTEM "../appendixa/man-dep.xml">
|
||||
<!ENTITY aa-man-down SYSTEM "../appendixa/man-down.xml">
|
||||
|
Loading…
Reference in New Issue
Block a user