mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Minor textual and command changes from lfs-dev
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2773 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
73f7c1acf9
commit
c94dd38cc7
@ -19,6 +19,14 @@ Often there is a reason for not using the latest version.</para>
|
||||
pages will give you easy access to the official download sites as well as
|
||||
project websites, mailinglists, FAQs, Changelogs and more.</para>
|
||||
|
||||
<para>We can't guarantee that these download locations are always available
|
||||
to you. In case a download location has changed since this book was
|
||||
published, please try to google for the package. Should you remain
|
||||
unsuccessful with this you should consult the book's errata page at
|
||||
<ulink url="http://linuxfromscratch.org/lfs/print"/> or try
|
||||
the alternative means of download listed at
|
||||
<ulink url="http://linuxfromscratch.org/lfs/packages.html"/></para>
|
||||
|
||||
<!--
|
||||
<para>For your convenience the top of the list contains a link to a file
|
||||
you can use with the <ulink url="http://wget.sunsite.dk">wget</ulink>
|
||||
|
@ -18,7 +18,7 @@ them when building Glibc.</para>
|
||||
is putting the stability of your system at risk.</para>
|
||||
|
||||
<para>Though it is a harmless message, the install stage of Glibc will
|
||||
complain about the absence of <filename>/etc/ld.so.conf</filename>.
|
||||
complain about the absence of <filename>/tools/etc/ld.so.conf</filename>.
|
||||
Fix this annoying little error with:</para>
|
||||
|
||||
<para><screen><userinput>mkdir /tools/etc
|
||||
|
@ -12,7 +12,7 @@ retained the source and build directories from the second pass over Binutils.
|
||||
Install the adjusted linker scripts by running the following from within the
|
||||
<filename class="directory">binutils-build</filename> directory:</para>
|
||||
|
||||
<para><screen><userinput>make -C ld INSTALL=/tools/bin/install install-data-local</userinput></screen></para>
|
||||
<para><screen><userinput>make -C ld install-data-local</userinput></screen></para>
|
||||
|
||||
<para>The linker scripts now contain
|
||||
no mention of <filename class="directory">/tools/lib</filename> anymore.
|
||||
|
@ -25,7 +25,7 @@ user <emphasis>root</emphasis> by running the following command:</para>
|
||||
<para><screen><userinput>chown -R 0:0 /tools</userinput></screen></para>
|
||||
|
||||
<para>The command uses "0:0" instead of "root:root", because chown is unable
|
||||
to resolve the name "root" until glibc has been installed.</para>
|
||||
to resolve the name "root" until the password file has been created.</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
|
@ -39,7 +39,8 @@ you must remember to again enter chroot and mount proc (discussed later)
|
||||
before continuing with the installations.</para>
|
||||
|
||||
<para>Note that the bash prompt will say "I have no name!" This is
|
||||
normal, as the Glibc package hasn't been installed yet.</para>
|
||||
normal, as the <filename>/etc/passwd</filename> file has not been
|
||||
created yet.</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
|
@ -3,16 +3,13 @@
|
||||
<?dbhtml filename="revisedchroot.html" dir="chapter06"?>
|
||||
|
||||
<para>From now on when you exit the chroot environment and wish to re-enter
|
||||
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">/tools/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>
|
||||
it, you should run the following modified chroot command.</para>
|
||||
|
||||
<para>Additionally, now that all software has been installed there is no
|
||||
need to use anything from the <filename
|
||||
class="directory">/tools</filename> directory anymore.</para>
|
||||
class="directory">/tools</filename> directory anymore, so it may be deleted.
|
||||
However, since the TCL, Expect, and DejaGNU packages only exist here, you
|
||||
may want to reinstall them after removing the /tools directory.</para>
|
||||
|
||||
<para><screen><userinput>chroot $LFS /usr/bin/env -i \
|
||||
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
|
||||
|
Loading…
Reference in New Issue
Block a user