r1525 - in trunk/BOOK: . final-system final-system/ppc final-system/ppc64 introduction/ppc64 materials/ppc64 stylesheets

ken at linuxfromscratch.org ken at linuxfromscratch.org
Fri May 5 14:04:12 PDT 2006


Author: ken
Date: 2006-05-05 15:04:09 -0600 (Fri, 05 May 2006)
New Revision: 1525

Added:
   trunk/BOOK/final-system/ppc64/adjusting.xml
   trunk/BOOK/final-system/ppc64/hfsutils.xml
   trunk/BOOK/final-system/ppc64/mktemp.xml
   trunk/BOOK/final-system/ppc64/parted.xml
   trunk/BOOK/final-system/ppc64/powerpc-utils.xml
   trunk/BOOK/final-system/ppc64/yaboot.xml
Modified:
   trunk/BOOK/final-system/ppc/hfsutils.xml
   trunk/BOOK/final-system/ppc/parted.xml
   trunk/BOOK/final-system/ppc64-chapter.xml
   trunk/BOOK/final-system/ppc64/linux-headers.xml
   trunk/BOOK/introduction/ppc64/changelog.xml
   trunk/BOOK/materials/ppc64/patches.xml
   trunk/BOOK/packages.ent
   trunk/BOOK/patches.ent
   trunk/BOOK/stylesheets/top-index.xsl
Log:
Get ppc64 final-system mostly working.

Modified: trunk/BOOK/final-system/ppc/hfsutils.xml
===================================================================
--- trunk/BOOK/final-system/ppc/hfsutils.xml	2006-05-05 17:33:52 UTC (rev 1524)
+++ trunk/BOOK/final-system/ppc/hfsutils.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -33,17 +33,17 @@
   <sect2 role="installation">
     <title>Installation of Hfsutils</title>
 
-    <para>Prepare Hfsutils for compilation:</para>
+    <para os="a">Prepare Hfsutils for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr</userinput></screen>
 
-    <para>Compile the package.</para>
+    <para os="c">Compile the package.</para>
 
-<screen><userinput>make</userinput></screen>
+<screen os="d"><userinput>make</userinput></screen>
 
-    <para>Install the package:</para>
+    <para os="e">Install the package:</para>
 
-<screen><userinput>make install</userinput></screen>
+<screen os="f"><userinput>make install</userinput></screen>
 
   </sect2>
 

Modified: trunk/BOOK/final-system/ppc/parted.xml
===================================================================
--- trunk/BOOK/final-system/ppc/parted.xml	2006-05-05 17:33:52 UTC (rev 1524)
+++ trunk/BOOK/final-system/ppc/parted.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -36,17 +36,17 @@
   <sect2 role="installation">
     <title>Installation of Parted</title>
 
-    <para>Prepare Parted for compilation:</para>
+    <para os="a">Prepare Parted for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr</userinput></screen>
 
-    <para>Compile the Parted package:</para>
+    <para os="c">Compile the Parted package:</para>
 
-<screen><userinput>make</userinput></screen>
+<screen os="d"><userinput>make</userinput></screen>
 
-    <para>Install the package:</para>
+    <para os="e">Install the package:</para>
 
-<screen><userinput>make install</userinput></screen>
+<screen os="f"><userinput>make install</userinput></screen>
 
   </sect2>
 

Copied: trunk/BOOK/final-system/ppc64/adjusting.xml (from rev 1523, trunk/BOOK/final-system/x86_64/adjusting.xml)
===================================================================
--- trunk/BOOK/final-system/ppc64/adjusting.xml	                        (rev 0)
+++ trunk/BOOK/final-system/ppc64/adjusting.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -0,0 +1,83 @@
+<?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-system-adjusting">
+  <?dbhtml filename="adjusting.html"?>
+
+  <title>Adjusting the Toolchain</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/adjusting.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../multilib/adjusting.xml"
+  xpointer="xpointer(//*[@os='c'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/adjusting.xml"
+  xpointer="xpointer(//*[@os='d'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../multilib/adjusting.xml"
+  xpointer="xpointer(//*[@os='m1'])"/>
+
+  <caution>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/adjusting.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m4'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m5'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+<screen><computeroutput>[Requesting program interpreter: /lib64/ld64.so.1]</computeroutput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m7'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='k'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='l'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='m'])"/>
+
+  </caution>
+
+</sect1>

Copied: trunk/BOOK/final-system/ppc64/hfsutils.xml (from rev 1523, trunk/BOOK/final-system/ppc/hfsutils.xml)
===================================================================
--- trunk/BOOK/final-system/ppc64/hfsutils.xml	                        (rev 0)
+++ trunk/BOOK/final-system/ppc64/hfsutils.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -0,0 +1,52 @@
+<?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-system-hfsutils" role="wrap">
+  <?dbhtml filename="hfsutils.html"?>
+
+  <title>Hfsutils-&hfsutils-version;</title>
+
+  <indexterm zone="ch-system-hfsutils">
+    <primary sortas="a-Hfsutils">Hfsutils</primary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../ppc/hfsutils.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Hfsutils</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/hfsutils.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+<screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/hfsutils.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/hfsutils.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/hfsutils.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/hfsutils.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+  </sect2>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../ppc/hfsutils.xml"
+  xpointer="xpointer(id('contents-hfsutils'))"/>
+
+</sect1>

Modified: trunk/BOOK/final-system/ppc64/linux-headers.xml
===================================================================
--- trunk/BOOK/final-system/ppc64/linux-headers.xml	2006-05-05 17:33:52 UTC (rev 1524)
+++ trunk/BOOK/final-system/ppc64/linux-headers.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -45,17 +45,15 @@
     href="../x86/linux-headers.xml"
     xpointer="xpointer(//*[@os='e'])"/>
 
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/linux-headers.xml"
-    xpointer="xpointer(//*[@os='f'])"/>
+<screen os="f"><userinput>chown -Rv root:root /usr/include/{asm,asm-generic,asm-ppc,linux,mtd,net,scsi,sound}</userinput></screen>
 
+
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../x86/linux-headers.xml"
     xpointer="xpointer(//*[@os='g'])"/>
 
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/linux-headers.xml"
-    xpointer="xpointer(//*[@os='h'])"/>
+<screen os="h"><userinput>find /usr/include/{asm,asm-generic,asm-ppc,linux,mtd,net,scsi,sound} -type d -exec chmod -v 755 {} \;
+find /usr/include/{asm,asm-generic,asm-ppc,linux,mtd,net,scsi,sound} -type f -exec chmod -v 644 {} \;</userinput></screen>
 
   </sect2>
 

Copied: trunk/BOOK/final-system/ppc64/mktemp.xml (from rev 1523, trunk/BOOK/final-system/multilib/mktemp.xml)
===================================================================
--- trunk/BOOK/final-system/ppc64/mktemp.xml	                        (rev 0)
+++ trunk/BOOK/final-system/ppc64/mktemp.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -0,0 +1,76 @@
+<?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-system-mktemp" role="wrap">
+  <?dbhtml filename="mktemp.html"?>
+
+  <title>Mktemp-&mktemp-version;</title>
+
+  <indexterm zone="ch-system-mktemp">
+    <primary sortas="a-Mktemp">Mktemp</primary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/mktemp.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Mktemp</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/mktemp.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/mktemp.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <para>This is an old package, and its config scripts do not recognise
+    powerpc64.  We have already installed suitably recent scripts, so we can
+    use those to assist.</para>
+
+<screen><userinput>cp -v /usr/share/&automake-directory;/config.{guess,sub} .</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/mktemp.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/mktemp.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/mktemp.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/mktemp.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/mktemp.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/mktemp.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/mktemp.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/mktemp.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+  </sect2>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/mktemp.xml"
+  xpointer="xpointer(id('contents-mktemp'))"/>
+
+</sect1>

Copied: trunk/BOOK/final-system/ppc64/parted.xml (from rev 1523, trunk/BOOK/final-system/ppc/parted.xml)
===================================================================
--- trunk/BOOK/final-system/ppc64/parted.xml	                        (rev 0)
+++ trunk/BOOK/final-system/ppc64/parted.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -0,0 +1,52 @@
+<?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-system-parted" role="wrap">
+  <?dbhtml filename="parted.html"?>
+
+  <title>Parted-&parted-version;</title>
+
+  <indexterm zone="ch-system-parted">
+    <primary sortas="a-Parted">Parted</primary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../ppc/parted.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Parted</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/parted.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+<screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/parted.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/parted.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/parted.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/parted.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+  </sect2>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../ppc/parted.xml"
+  xpointer="xpointer(id('contents-parted'))"/>
+
+</sect1>

Copied: trunk/BOOK/final-system/ppc64/powerpc-utils.xml (from rev 1523, trunk/BOOK/final-system/ppc/powerpc-utils.xml)
===================================================================
--- trunk/BOOK/final-system/ppc64/powerpc-utils.xml	                        (rev 0)
+++ trunk/BOOK/final-system/ppc64/powerpc-utils.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -0,0 +1,108 @@
+<?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-system-powerpc-utils" role="wrap">
+  <?dbhtml filename="powerpc-utils.html"?>
+
+  <title>Powerpc-Utils_&powerpcutils-version;</title>
+
+  <indexterm zone="ch-system-powerpc-utils">
+    <primary sortas="a-Powerpc-Utils">Powerpc-Utils</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title/>
+
+    <!--- this starts with a straight copy of the ppc version, we can replace
+    the duplicate text with links after the build works -->
+
+    <para>The Powerpc-Utils package contains a number of utilities for Power
+    Macintoshes and other similar machines.  Most of these utilities are now
+    obsolete, but <command>nvsetenv</command> is needed by <command>ybin</command>
+    to install the bootloader on an hfs partition.</para>
+
+    <segmentedlist>
+      <segtitle>&dependencies;</segtitle>
+
+      <seglistitem>
+        <seg>GCC, Gzip, Make, and Patch</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Powerpc-Utils</title>
+
+  <caution>
+
+    <para>There is a question mark hanging over this package -
+    until we can get the bootloader to work, we cannot be certain
+    if any of the issues are in fact within this package's build.
+    </para>
+
+  </caution>
+
+    <para>This package, originally pmac-utils, has issues with
+    NewWorld Macintoshes. The following patch fixes these issues
+    and generally allows us to pass the required flags to the
+    compiler:</para>
+
+<screen><userinput>patch -Np1 -i ../&powerpcutils64-patch;</userinput></screen>
+
+    <para>Compile the needed programs:</para>
+
+<screen><userinput>EXTRACFLAGS="${BUILD32}" make nvsetenv nvsetvol</userinput></screen>
+
+    <para>Install the package:</para>
+
+<screen><userinput>install -m755 nvsetenv nvsetvol /usr/sbin
+install -m644 nvsetenv.8 nvsetvol.8 /usr/share/man/man8</userinput></screen>
+
+  </sect2>
+
+  <sect2 id="contents-powerpc-utils" role="content">
+    <title>Contents of Powerpc-Utils</title>
+
+    <segmentedlist>
+      <segtitle>Installed programs</segtitle>
+
+      <seglistitem>
+        <seg>nvsetenv, nvsetvol</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="nvsetenv">
+        <term><command>nvsetenv</command></term>
+        <listitem>
+          <para>Manipulate variables in the non-volatile RAM.</para>
+          <indexterm zone="ch-system-powerpc-utils nvsetenv">
+            <primary sortas="b-nvsetenv">nvsetenv</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="nvsetvol">
+        <term><command>nvsetvol</command></term>
+        <listitem>
+          <para>Adjust the volume of the boot-up chime on Macintoshes.</para>
+          <indexterm zone="ch-system-powerpc-utils nvsetvol">
+            <primary sortas="b-nvsetvol">nvsetvol</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Copied: trunk/BOOK/final-system/ppc64/yaboot.xml (from rev 1523, trunk/BOOK/final-system/ppc/yaboot.xml)
===================================================================
--- trunk/BOOK/final-system/ppc64/yaboot.xml	                        (rev 0)
+++ trunk/BOOK/final-system/ppc64/yaboot.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -0,0 +1,176 @@
+<?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-system-yaboot" role="wrap">
+  <?dbhtml filename="yaboot.html"?>
+
+  <title>Yaboot-&yaboot-version;</title>
+
+  <indexterm zone="ch-system-yaboot">
+    <primary sortas="a-Yaboot">Yaboot</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title/>
+
+   <!-- this is a copy of the ppc version.  once it is working, the text needs to
+   be fixed to refer to the master text instead of copying it -->
+
+    <para>The Yaboot package contains a PowerPC Boot Loader for machines using
+    OpenFirmware such as NewWorld Macintoshes.</para>
+
+    <segmentedlist>
+      <segtitle>&dependencies;</segtitle>
+
+      <seglistitem>
+        <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep,
+        Make, Ncurses, and Sed</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Yaboot</title>
+
+  <caution>
+
+    <para>This does not work!  For now, if you have an existing system, use
+    yaboot from that system.</para>
+
+  </caution>
+
+    <para>Yaboot has a compilation error. The following patch properly fixes
+    the issue:</para>
+
+<screen><userinput>patch -Np1 -i ../yaboot-&yaboot-version;-fix-1.patch</userinput></screen>
+
+    <para>The supplied man pages have <filename class="directory">/usr/local
+    </filename> in the text.  This sed will correct that:</para>
+
+<screen><userinput>sed -i 's%/usr/local%/usr%' man/*</userinput></screen>
+
+    <para>Compile the Yaboot package:</para>
+
+<screen><userinput>make PREFIX=/usr</userinput></screen>
+
+    <para>Install the package:</para>
+
+<screen><userinput>make PREFIX=/usr install</userinput></screen>
+
+  </sect2>
+
+  <sect2 id="contents-yaboot" role="content">
+    <title>Contents of Yaboot</title>
+
+    <segmentedlist>
+      <segtitle>Installed programs</segtitle>
+      <segtitle>Installed files</segtitle>
+
+      <seglistitem>
+        <seg>addnote, mkofboot (link to ybin), ofboot, ofpath, yaboot,
+        yabootconfig, ybin</seg>
+        <seg>yaboot.conf</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="addnote">
+        <term><command>addnote</command></term>
+  <listitem>
+    <para>For IBM CHRP machines, add a PT_NOTE program header
+    entry to an elf file so that it can be booted.</para>
+    <indexterm zone="ch-system-yaboot addnote">
+      <primary sortas="b-addnote">addnote</primary>
+    </indexterm>
+  </listitem>
+      </varlistentry>
+
+      <varlistentry id="mkofboot">
+        <term><command>mkofboot</command></term>
+        <listitem>
+          <para>Format the bootstrap partition and install the yaboot
+          boot loader.</para>
+          <indexterm zone="ch-system-yaboot mkofboot">
+            <primary sortas="b-mkofboot">mkofboot</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="ofboot">
+        <term><command>ofboot</command></term>
+        <listitem>
+          <para>Script to format the boot menu using yaboot.conf and
+    write the resulting OpenFirmware code to the bootstrap.</para>
+          <indexterm zone="ch-system-yaboot ofboot">
+            <primary sortas="b-ofboot">ofboot</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="ofpath">
+        <term><command>ofpath</command></term>
+        <listitem>
+          <para>Determine OpenFirmware path corresponding to a device
+    node.</para>
+          <indexterm zone="ch-system-yaboot ofpath">
+            <primary sortas="b-ofpath">ofpath</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="yaboot">
+        <term><command>yaboot</command></term>
+        <listitem>
+          <para>OpenFirmware boot loader.</para>
+          <indexterm zone="ch-system-yaboot yaboot">
+            <primary sortas="b-yaboot">yaboot</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="yabootconfig">
+        <term><command>yabootconfig</command></term>
+        <listitem>
+          <para>Generate and install a simple yaboot.conf.</para>
+          <indexterm zone="ch-system-yaboot yabootconfig">
+            <primary sortas="b-yabootconfig">yabootconfig</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="ybin">
+        <term><command>ybin</command></term>
+        <listitem>
+          <para>Shell script to update or install the boot loader
+    on a bootstrap partition.</para>
+          <indexterm zone="ch-system-yaboot ybin">
+            <primary sortas="b-ybin">ybin</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="yaboot.conf">
+        <term><filename>yaboot.conf</filename></term>
+        <listitem>
+          <para>Configuration file used by <command>ybin</command> to determine
+    how to install <command>yaboot</command> on the bootstrap partition.</para>
+          <indexterm zone="ch-system-yaboot yaboot.conf">
+            <primary sortas="e-yaboot.conf">yaboot.conf</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/final-system/ppc64-chapter.xml
===================================================================
--- trunk/BOOK/final-system/ppc64-chapter.xml	2006-05-05 17:33:52 UTC (rev 1524)
+++ trunk/BOOK/final-system/ppc64-chapter.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -14,62 +14,73 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pkgmgt.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/testsuitesagain.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/temp-perl.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/temp-perl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/linux-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/glibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/glibc-64bit.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/adjusting.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/coreutils.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/adjusting.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/coreutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/zlib.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/zlib-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iana-etc.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/readline.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/vim.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/m4.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bison.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/less.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/groff.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sed.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/inetutils.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/procps.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/perl.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iproute2.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/texinfo.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/autoconf.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/automake.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bash.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/grep.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libtool.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bzip2.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/diffutils.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/kbd.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/e2fsprogs.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gzip.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/ncurses.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/ncurses-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/readline.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/readline-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/vim.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/m4.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bison.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/less.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/groff.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/sed.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/inetutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/procps.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/procps-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/perl-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/iproute2.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="multilib/autoconf.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/automake.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/file.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/grep.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/libtool.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/libtool-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bzip2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bzip2-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/diffutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/kbd.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/e2fsprogs.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/e2fsprogs-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gzip.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/man.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man-pages.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mktemp.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/psmisc.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/shadow.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sysklogd.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sysvinit.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/tar.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/util-linux.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/udev.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/hfsutils.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/parted.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/powerpc-utils.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/yaboot.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/aboutdebug.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/stripping.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/make.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/mktemp.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/module-init-tools.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/patch.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/psmisc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/shadow.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/shadow-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/sysklogd.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/sysvinit.xml"/>
+  <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/util-linux.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/udev.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/hfsutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/parted.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/powerpc-utils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/yaboot.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/aboutdebug.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/stripping.xml"/>
 
 </chapter>

Modified: trunk/BOOK/introduction/ppc64/changelog.xml
===================================================================
--- trunk/BOOK/introduction/ppc64/changelog.xml	2006-05-05 17:33:52 UTC (rev 1524)
+++ trunk/BOOK/introduction/ppc64/changelog.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -34,6 +34,16 @@
 -->
 
     <listitem>
+      <para>May 5, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Convert the final-system chapter to multilib. Note that
+	 powerpc-utils and/or yaboot are broken.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>April 30, 2006</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/materials/ppc64/patches.xml
===================================================================
--- trunk/BOOK/materials/ppc64/patches.xml	2006-05-05 17:33:52 UTC (rev 1524)
+++ trunk/BOOK/materials/ppc64/patches.xml	2006-05-05 21:04:09 UTC (rev 1525)
@@ -20,7 +20,7 @@
       <term>Powerpc-utils_(&powerpcutils-version;) - 21 KB:</term>
       <listitem>
         <para><ulink
-        url="&patches-root;powerpc-utils/&powerpcutils-patch;"/></para>
+        url="&patches-root;powerpc-utils/&powerpcutils64-patch;"/></para>
       </listitem>
     </varlistentry>
 

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2006-05-05 17:33:52 UTC (rev 1524)
+++ trunk/BOOK/packages.ent	2006-05-05 21:04:09 UTC (rev 1525)
@@ -15,6 +15,7 @@
 <!ENTITY automake-version "1.9.6">
 <!ENTITY automake-size "748 KB">
 <!ENTITY automake-url "&gnu;automake/automake-&automake-version;.tar.bz2">
+<!ENTITY automake-directory "automake-1.9">
 
 <!ENTITY bash-version "3.1">
 <!ENTITY bash-size "2.4 MB">

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2006-05-05 17:33:52 UTC (rev 1524)
+++ trunk/BOOK/patches.ent	2006-05-05 21:04:09 UTC (rev 1525)
@@ -82,7 +82,7 @@
 
 <!-- Start of ppc64 patches -->
 
-<!ENTITY linux-libc-headers-ppc_biarch-patch "linux-libc-headers-&linux-libc-headers-version;-ppc_biarch-1.patch">
+<!ENTITY powerpcutils64-patch "powerpc-utils_&powerpcutils-version;-fixes-2.patch">
 
 <!-- Start of sparc/sparc64 patches -->
 

Modified: trunk/BOOK/stylesheets/top-index.xsl
===================================================================
--- trunk/BOOK/stylesheets/top-index.xsl	2006-05-05 17:33:52 UTC (rev 1524)
+++ trunk/BOOK/stylesheets/top-index.xsl	2006-05-05 21:04:09 UTC (rev 1525)
@@ -203,7 +203,7 @@
           </li>
 	  <br />
           <h3>
-             <xsl:text>Totally broken. Development in progress.</xsl:text>
+             <xsl:text>Working from chroot, except for the bootloader. Development in progress.</xsl:text>
           </h3>
           <li>
             <h4>




More information about the cross-lfs mailing list