[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. clfs-2.1.0-1165-g44a25cc

git git at cross-lfs.org
Fri May 30 01:23:28 PDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, master has been updated
       via  44a25cc94e39dfe0cf805572e1abb6f11bd191fa (commit)
      from  b3458f81893bfd55f8ea694ad72c009181ac3c8e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 44a25cc94e39dfe0cf805572e1abb6f11bd191fa
Author: Chris Staub <chris at beaker67.com>
Date:   Fri May 30 04:21:33 2014 -0400

    Updates to choose page

diff --git a/BOOK/temp-system/common/choose.xml b/BOOK/temp-system/common/choose.xml
index 7a40610..3cbf77b 100644
--- a/BOOK/temp-system/common/choose.xml
+++ b/BOOK/temp-system/common/choose.xml
@@ -13,46 +13,44 @@
   <para os="a"> There are two different ways you can proceed from this point
   to build the final system. You can build a kernel, a bootloader, and
   a few other utilities, boot into the temporary system, and build the
-  rest there. Alternatively, you can chroot into the temporary system.</para>
+  rest there. Alternatively, you can mount a few virtual filesystems and
+  chroot into the temporary system.</para>
 
-  <para os="b">The <command>chroot</command> (change root) program is used to enter
-  a virtual environment and start a new shell whose root directory will be set
-  to the CLFS partition. This is very similar to rebooting and instructing the
-  kernel to mount the CLFS partition as the root partition.
+  <para os="b">The <command>chroot</command> (change root) program is used to
+  enter a virtual environment and start a new shell whose root directory will
+  be set to the CLFS partition. This is very similar to rebooting and
+  instructing the kernel to mount the CLFS partition as the root partition.
   The major advantage is that <quote>chrooting</quote> allows the builder to
   continue using the host while CLFS is being built. While waiting for package
   compilation to complete, a user can switch to a different virtual console
   (VC) or X desktop and continue using the computer as normal.</para>
 
-  <para os="c">Some systems cannot be built by chrooting so they must be
-  booted instead. Generally, if you building for a different arch than
-  the host system, you must reboot because the kernel will likely not
-  support the target machine. Booting involves installing a few
-  additional packages that are needed for bootup, installing
-  boot-scripts, and building a miminal kernel.<!-- We also describe some
-  alternative booting methods in <xref linkend="ch-boot-whatnext"/> -->
-  The boot method is needed when you are building on a different
-  architecture. For example, if you are building a PowerPC system from
-  an x86, you can't chroot. The chroot method is for when you are
-  building on the same architecture. If you are building on, and for,
-  an x86 system, you can simply chroot. The rule of thumb here is if
-  the architectures match and you are running the same series kernel
-  you can just chroot. If you aren't running the same series kernel, or are
-  wanting to run a different ABI, you will need to use the boot option.</para>
+  <!-- We also describe some alternative booting methods in <xref linkend="ch-boot-whatnext"/> -->
+
+  <para os="c">The main downside to chrooting is that you are more limited in
+  when you can use it - booting will always work for any CLFS build, but the
+  chroot method can only be used when you are building on the same
+  architecture. For example, if you are building on, and for, an x86 system,
+  you can simply chroot. Booting is required when you are compiling for a
+  different architecture, such as building a PowerPC system from an x86. The
+  rule of thumb here is that if the architectures match and you are running
+  the same series kernel you can just chroot. If you aren't running the same
+  series kernel, or are wanting to run a different ABI, you will need to use
+  the boot option.</para>
 
   <para os="d">If you are in any doubt about this, you can try the following
- commands to see if you can chroot:</para>
+  commands to see if you can chroot:</para>
 
 <screen os="e"><userinput>/tools/lib/libc.so.6
 /tools/bin/gcc -v</userinput></screen>
 
-  <para os="f">If either of these commands fail, you will have to follow the boot
-  method.</para>
+  <para os="f">If either of these commands fail, you will have to follow the
+  boot method.</para>
 
-  <para os="g">To chroot, you will also need a Linux Kernel-2.6.32 or greater
-  (having been compiled with GCC-4.1.2 or greater). The reason for the
-  kernel version requirement is that Glibc is built to generate the library
-  for the smallest version of the Linux kernel expected to be supported.</para>
+  <para os="g">To chroot, you will also need a Linux Kernel, version
+  2.6.32 or higher, having been compiled with GCC-4.1.2 or greater.
+  This is required because Glibc was built to generate libraries for the
+  smallest version of the Linux kernel expected to be supported.</para>
 
   <para os="h">To check your kernel version, run <command>cat /proc/version</command>
   - if it does not say that you are running a 2.6.32 or later Linux kernel,

-----------------------------------------------------------------------

Summary of changes:
 BOOK/temp-system/common/choose.xml |   52 +++++++++++++++++------------------
 1 files changed, 25 insertions(+), 27 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list