mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
new chroot cmd after glibc-pass2
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2298 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
10d18a0f10
commit
72b34dd8f8
@ -56,6 +56,9 @@
|
||||
</itemizedlist>
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>January 10th, 2003 [gerard]: Added new chroot commands that
|
||||
are to be used from that point onwards.</para></listitem>
|
||||
|
||||
<listitem><para>January 9th, 2003 [timothy]: Appendix A - Gzip:
|
||||
Added patch URL.</para></listitem>
|
||||
|
||||
|
@ -64,6 +64,7 @@
|
||||
&c6-utillinux;
|
||||
&c6-kernel-manpages;
|
||||
&c6-glibc-pass2;
|
||||
&c6-revisedchroot;
|
||||
&c6-bootscripts;
|
||||
&c6-configure;
|
||||
|
||||
|
23
chapter06/revisedchroot.xml
Normal file
23
chapter06/revisedchroot.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<sect1 id="ch06-revisedchroot">
|
||||
<title>Revised chroot command</title>
|
||||
<?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">/static/bin</filename>, such as <filename>bash</filename>,
|
||||
will not work anymore). The following chroot command will work irregardless
|
||||
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>
|
||||
|
||||
<para><screen><userinput>chroot $LFS /bin/env -i \
|
||||
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
|
||||
/bin/bash --login</userinput></screen></para>
|
||||
|
||||
</sect1>
|
||||
|
@ -9,6 +9,7 @@
|
||||
<!ENTITY c6-mtablink SYSTEM "../chapter06/mtablink.xml">
|
||||
<!ENTITY c6-mountproc SYSTEM "../chapter06/mountproc.xml">
|
||||
<!ENTITY c6-createfiles SYSTEM "../chapter06/createfiles.xml">
|
||||
<!ENTITY c6-revisedchroot SYSTEM "../chapter06/revisedchroot.xml">
|
||||
<!ENTITY c6-configure SYSTEM "../chapter06/configure.xml">
|
||||
<!ENTITY c6-cf-ldso SYSTEM "../chapter06/config-ldso.xml">
|
||||
<!ENTITY c6-cf-keyboard SYSTEM "../chapter06/config-keyboard.xml">
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
<!ENTITY book SYSTEM "book/book.xml">
|
||||
|
||||
<!ENTITY version "20030109">
|
||||
<!ENTITY releasedate "January 9th, 2003">
|
||||
<!ENTITY version "20030110">
|
||||
<!ENTITY releasedate "January 10th, 2003">
|
||||
|
||||
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
|
||||
<!ENTITY http-root "http://ftp.linuxfromscratch.org">
|
||||
|
Loading…
Reference in New Issue
Block a user