mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Adding some missing markup, and changing remaining /static's to /stage1's.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2696 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
89fcc34541
commit
5e49531c23
@ -120,6 +120,24 @@ support into the kernel.</para></listitem>
|
||||
</itemizedlist>
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>August 30th, 2003 [alex]: Added some missing markup, changed
|
||||
a few /static's to /stage1's.</para></listitem>
|
||||
|
||||
<listitem><para>August 30th, 2003 [alex]: Chapter 06 - Added all the missing
|
||||
text lines before the make checks, and reworded other lines.</para></listitem>
|
||||
|
||||
<listitem><para>August 28th, 2003 [alex]: Chapter 06 - Re-adjusting toolchain:
|
||||
Added a forgotten backslash.</para></listitem>
|
||||
|
||||
<listitem><para>August 28th, 2003 [alex]: Fixed a few typos and added some
|
||||
missing markup.</para></listitem>
|
||||
|
||||
<listitem><para>August 28th, 2003 [alex]: Chapter 06 - Binutils and GCC:
|
||||
Integrated text from the pure-lfs hint.</para></listitem>
|
||||
|
||||
<listitem><para>August 27th, 2003 [alex]: Chapter 06 - Glibc: Integrated text
|
||||
from the pure-lfs hint.</para></listitem>
|
||||
|
||||
<listitem><para>August 26th, 2003 [alex]: Chapter 06 & 08 - Moved the
|
||||
installation of the kernel manpages from chapter 6 to 8.</para></listitem>
|
||||
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>Installation of LFS-Bootscripts</title>
|
||||
|
||||
<para>We will be using SysV style init scripts. We have chosen this style
|
||||
because it is widely used and we feel comfortable with it. If you would
|
||||
prefer to try something else, Marc Heerdink has written a hint about BSD
|
||||
style init scripts, which may be found at
|
||||
<ulink url="&hints-root;bsd-init.txt"/>.</para>
|
||||
because it is widely used and we feel comfortable with it. If you would prefer
|
||||
to try something else, Marc Heerdink has written a hint about BSD style init
|
||||
scripts, to be found at <ulink url="&hints-root;bsd-init.txt"/>. And if you'd
|
||||
like something more radical, search the LFS mailing lists for depinit.</para>
|
||||
|
||||
<para>If you decide to use BSD style, or some other style scripts, you can
|
||||
skip Chapter 7 when you arrive at it and move on to Chapter 8.</para>
|
||||
|
@ -19,8 +19,8 @@ cd ../gcc-2-build
|
||||
make bootstrap
|
||||
make install</userinput></screen></para>
|
||||
|
||||
<para>Add the lib directory to ld.so.conf so they can be found during
|
||||
run-time:</para>
|
||||
<para>Add the compiler's library directory to <filename>ld.so.conf</filename>,
|
||||
so these libraries can be found at run time:</para>
|
||||
|
||||
<para><screen><userinput>echo "/opt/gcc-2.95.3/lib" >> /etc/ld.so.conf
|
||||
ldconfig</userinput></screen></para>
|
||||
|
@ -25,11 +25,11 @@ optimization and see if the problem goes away.</para>
|
||||
|
||||
<para>The order in which packages are installed in this chapter has
|
||||
to be strictly followed, to ensure that no program gets a path referring
|
||||
to <filename class="directory">/static</filename> hard-wired into it.
|
||||
to <filename class="directory">/stage1</filename> hard-wired into it.
|
||||
For the same reason, <emphasis>do not </emphasis> compile packages
|
||||
in parallel. Compiling in parallel may save you some time (especially on
|
||||
dual-CPU machines), but it could result in a program containing a
|
||||
hard-wired path to <filename class="directory">/static</filename>,
|
||||
hard-wired path to <filename class="directory">/stage1</filename>,
|
||||
which will cause the program to stop working when the static directory
|
||||
is removed.</para>
|
||||
|
||||
|
@ -27,7 +27,7 @@ Unfortunately, the configure script picks the last location in PATH
|
||||
rather than the first place a program is found. By appending
|
||||
<emphasis>/usr/bin:/bin</emphasis> to PATH for the
|
||||
<userinput>./configure</userinput> command, we ensure that man doesn't
|
||||
use the programs in the <filename class="directory">/static</filename>
|
||||
use the programs in the <filename class="directory">/stage1</filename>
|
||||
directory.</para>
|
||||
|
||||
<para>Now prepare Man for compilation:</para>
|
||||
|
@ -6,13 +6,13 @@
|
||||
it, you need to run the following modified chroot command. The one at the
|
||||
beginning of this chapter might not work anymore (if your host distribution
|
||||
was based on glibc-2.2.x or older, the programs in <filename
|
||||
class="directory">/static/bin</filename>, such as <filename>bash</filename>,
|
||||
class="directory">/stage1/bin</filename>, such as <filename>bash</filename>,
|
||||
will not work anymore). The following chroot command will work regardless
|
||||
of your host distribution's Glibc version.</para>
|
||||
|
||||
<para>Additionally, now that all software has been installed there is no
|
||||
need to use anything from the <filename
|
||||
class="directory">/static</filename> directory anymore.</para>
|
||||
class="directory">/stage1</filename> directory anymore.</para>
|
||||
|
||||
<para><screen><userinput>chroot $LFS /usr/bin/env -i \
|
||||
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
|
||||
|
@ -25,15 +25,14 @@ on the source tree being clean after untarring.</para>
|
||||
in some situations. See the <filename>README</filename> file for
|
||||
more information.</para>
|
||||
|
||||
<para>If you wish, you may skip kernel configuration by copying the
|
||||
kernel config file, <filename>.config</filename>, from your host
|
||||
system to the
|
||||
<para>If you wish, you may skip kernel configuration by simply copying the
|
||||
kernel config file, <filename>.config</filename>, from your host system to the
|
||||
<filename class="directory">$LFS/usr/src/linux-&kernel-version;</filename>
|
||||
directory.</para>
|
||||
|
||||
<para>It's important to note that to be compliant with Posix shared memory
|
||||
<para>It's important to note that to be compliant with POSIX shared memory
|
||||
requirements, we must enable the tmpfs filesystem option, and mount a tmpfs
|
||||
filesystem at /dev/shm.</para>
|
||||
filesystem at <filename>/dev/shm</filename>.</para>
|
||||
|
||||
<para>Verify dependencies and create dependency information files:</para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user