Changeset e3eb047b for boot


Ignore:
Timestamp:
Jun 8, 2006, 5:00:14 PM (19 years ago)
Author:
Jim Gifford <clfs@…>
Children:
4394b64
Parents:
7ee33b91
Message:

r3870@server (orig r1744): ken | 2006-06-08 15:31:32 -0700
Flesh-out chapter 7 for ppc.

Location:
boot
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • boot/ppc-chapter.xml

    r7ee33b91 re3eb047b  
    2323  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pwdgroup.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/kernel.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/hfsutils.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/mktemp.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/powerpc-utils.xml"/>
    2528  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/yaboot-build.xml"/>
    2629  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/settingenviron.xml"/>
  • boot/ppc/yaboot-build.xml

    r7ee33b91 re3eb047b  
    2323    <title>Installation of Yaboot</title>
    2424
    25 <para>Temporary placeholder for Yaboot installation instructions...</para>
     25    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     26    href="../../final-system/ppc/yaboot.xml"
     27    xpointer="xpointer(//*[@os='a'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     30    href="../../final-system/ppc/yaboot.xml"
     31    xpointer="xpointer(//*[@os='b'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="../../final-system/ppc/yaboot.xml"
     35    xpointer="xpointer(//*[@os='c'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="../../final-system/ppc/yaboot.xml"
     39    xpointer="xpointer(//*[@os='d'])"/>
     40
     41    <para>The Makefile is already set to do kernel-style cross-compiling,
     42    but it will try to use <command>strip</command> to strip the second-stage
     43    loader.  It also expects to be running as root for the install, and to
     44    install for the root user, which user LFS cannot do.  The following command
     45    will fix this:</para>
     46
     47<screen><userinput>cp Makefile,{.orig}
     48sed -e "s/\(strip \)/${LFS_TARGET}-\1/" \
     49    -e 's/-o root -g root//' \
     50    Makefile.orig > Makefile</userinput></screen>
     51
     52    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     53    href="../../final-system/ppc/yaboot.xml"
     54    xpointer="xpointer(//*[@os='g'])"/>
     55
     56<screen><userinput>make CROSS=${LFS_TARGET}-</userinput></screen>
     57
     58    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     59    href="../../final-system/ppc/yaboot.xml"
     60    xpointer="xpointer(//*[@os='i'])"/>
     61
     62<screen><userinput>make CROSS=${LFS_TARGET}- ROOT=/tools PREFIX= install</userinput></screen>
    2663
    2764  </sect2>
Note: See TracChangeset for help on using the changeset viewer.