r1461 - in trunk/BOOK: . introduction/common temp-system temp-system/common temp-system/mips64 temp-system/multilib

ken at linuxfromscratch.org ken at linuxfromscratch.org
Sat Apr 22 12:13:33 PDT 2006


Author: ken
Date: 2006-04-22 13:13:32 -0600 (Sat, 22 Apr 2006)
New Revision: 1461

Added:
   trunk/BOOK/temp-system/mips64/choose.xml
   trunk/BOOK/temp-system/multilib/choose.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/common/changelog.xml
   trunk/BOOK/temp-system/common/choose.xml
   trunk/BOOK/temp-system/mips64-chapter.xml
   trunk/BOOK/temp-system/sparc64-chapter.xml
   trunk/BOOK/temp-system/x86_64-chapter.xml
Log:
Add commands to see if user can chroot.

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2006-04-22 11:54:28 UTC (rev 1460)
+++ trunk/BOOK/general.ent	2006-04-22 19:13:32 UTC (rev 1461)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
-<!ENTITY version "CLFS-SVN-20060421">
+<!ENTITY version "CLFS-SVN-20060422">
 <!ENTITY version-x86 "&version;-x86">
 <!ENTITY version-x86_64 "&version;-x86_64-Multilib">
 <!ENTITY version-x86_64-64 "&version;-x86_64-Pure64">
@@ -15,7 +15,7 @@
 <!ENTITY version-mips64-64 "&version;-MIPS64-Pure64">
 <!ENTITY version-alpha "&version;-ALPHA">
 
-<!ENTITY releasedate "April 21, 2006">
+<!ENTITY releasedate "April 22, 2006">
 <!ENTITY milestone "0.1">
 <!ENTITY generic-version "svn"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" -->
 

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2006-04-22 11:54:28 UTC (rev 1460)
+++ trunk/BOOK/introduction/common/changelog.xml	2006-04-22 19:13:32 UTC (rev 1461)
@@ -37,6 +37,16 @@
 -->
 
     <listitem>
+      <para>April 22, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Add example commands to test if chroot is possible,
+	  thanks to William Zhou.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>April 21, 2006</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/temp-system/common/choose.xml
===================================================================
--- trunk/BOOK/temp-system/common/choose.xml	2006-04-22 11:54:28 UTC (rev 1460)
+++ trunk/BOOK/temp-system/common/choose.xml	2006-04-22 19:13:32 UTC (rev 1461)
@@ -10,12 +10,12 @@
 
   <title>To Boot or to Chroot?</title>
 
-  <para> There are two different ways you can proceed from this point
+  <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. The other option is to chroot into the temporary system.</para>
 
-  <para>The boot method is for when you are building on a different
+  <para os="b">The boot method is for 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,
@@ -24,8 +24,17 @@
   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>For the boot method, follow <xref linkend="chapter-boot"/>.</para>
+  <para os="c">If you are in any doubt about this, you can try the following
+ commands to see if you can chroot:</para>
 
-  <para>For the chroot method, follow <xref linkend="chapter-chroot"/>.</para>
+<screen ><userinput>/tools/lib/libc.so.6
+/tools/bin/gcc -v</userinput></screen>
 
+  <para os="d">If these commands fail, you will have to follow the boot
+  method.</para>
+
+  <para os="e">For the boot method, follow <xref linkend="chapter-boot"/>.</para>
+
+  <para os="f">For the chroot method, follow <xref linkend="chapter-chroot"/>.</para>
+
 </sect1>

Added: trunk/BOOK/temp-system/mips64/choose.xml
===================================================================
--- trunk/BOOK/temp-system/mips64/choose.xml	                        (rev 0)
+++ trunk/BOOK/temp-system/mips64/choose.xml	2006-04-22 19:13:32 UTC (rev 1461)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-temp-system-choose">
+  <?dbhtml filename="choose.html"?>
+
+  <title>To Boot or to Chroot?</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+<screen ><userinput>/tools/lib/libc.so.6
+/tools/lib32/libc.so.6
+/tools/lib64/libc.so.6
+/tools/bin/gcc -v</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+</sect1>

Modified: trunk/BOOK/temp-system/mips64-chapter.xml
===================================================================
--- trunk/BOOK/temp-system/mips64-chapter.xml	2006-04-22 11:54:28 UTC (rev 1460)
+++ trunk/BOOK/temp-system/mips64-chapter.xml	2006-04-22 19:13:32 UTC (rev 1461)
@@ -30,6 +30,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/tar.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bash.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/texinfo.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/choose.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/choose.xml"/>
 
 </chapter>

Added: trunk/BOOK/temp-system/multilib/choose.xml
===================================================================
--- trunk/BOOK/temp-system/multilib/choose.xml	                        (rev 0)
+++ trunk/BOOK/temp-system/multilib/choose.xml	2006-04-22 19:13:32 UTC (rev 1461)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-temp-system-choose">
+  <?dbhtml filename="choose.html"?>
+
+  <title>To Boot or to Chroot?</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+<screen ><userinput>/tools/lib/libc.so.6
+/tools/lib64/libc.so.6
+/tools/bin/gcc -v</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/choose.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+</sect1>

Modified: trunk/BOOK/temp-system/sparc64-chapter.xml
===================================================================
--- trunk/BOOK/temp-system/sparc64-chapter.xml	2006-04-22 11:54:28 UTC (rev 1460)
+++ trunk/BOOK/temp-system/sparc64-chapter.xml	2006-04-22 19:13:32 UTC (rev 1461)
@@ -30,6 +30,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/tar.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bash.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/texinfo.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/choose.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/choose.xml"/>
 
 </chapter>

Modified: trunk/BOOK/temp-system/x86_64-chapter.xml
===================================================================
--- trunk/BOOK/temp-system/x86_64-chapter.xml	2006-04-22 11:54:28 UTC (rev 1460)
+++ trunk/BOOK/temp-system/x86_64-chapter.xml	2006-04-22 19:13:32 UTC (rev 1461)
@@ -30,6 +30,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/tar.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bash.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/texinfo.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/choose.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/choose.xml"/>
 
 </chapter>




More information about the cross-lfs mailing list