diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-01-10 15:18:54 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-01-10 15:18:54 +0000 |
commit | 72b34dd8f8aace349203ff45a13dd5f66608d772 (patch) | |
tree | eaf21073bf3ecf8e377a589ece5df64a66d6a4e4 | |
parent | 10d18a0f10514f69f8d5c2f8e9c6a4299e3ac4c9 (diff) |
new chroot cmd after glibc-pass2
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2298 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 3 | ||||
-rw-r--r-- | chapter06/chapter06.xml | 1 | ||||
-rw-r--r-- | chapter06/revisedchroot.xml | 23 | ||||
-rw-r--r-- | entities/chapter06.ent | 1 | ||||
-rw-r--r-- | index.xml | 4 |
5 files changed, 30 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 50fb73298..5e494cac9 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -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> diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 36d223499..060cd4fe9 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -64,6 +64,7 @@ &c6-utillinux; &c6-kernel-manpages; &c6-glibc-pass2; +&c6-revisedchroot; &c6-bootscripts; &c6-configure; diff --git a/chapter06/revisedchroot.xml b/chapter06/revisedchroot.xml new file mode 100644 index 000000000..79f11f009 --- /dev/null +++ b/chapter06/revisedchroot.xml @@ -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> + diff --git a/entities/chapter06.ent b/entities/chapter06.ent index add3caac8..fd8c2fc37 100644 --- a/entities/chapter06.ent +++ b/entities/chapter06.ent @@ -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"> |