Changeset 370b16d
- Timestamp:
- Jun 18, 2006, 5:08:47 PM (19 years ago)
- Children:
- 2322c31
- Parents:
- 996dcd2
- Files:
-
- 6 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/ppc/yaboot-build.xml
r996dcd2 r370b16d 39 39 xpointer="xpointer(//*[@os='d'])"/> 40 40 41 <para os="p1">The following patch allows <command>ofpath</command> to use 42 <literal>PATH_PREFIX</literal> like the other 43 <filename class="directory">ybin</filename> scripts:</para> 44 45 <screen os="p2"><userinput>patch -Np1 -i ../&yaboot-ofpath_path-patch;</userinput></screen> 46 41 47 <para>The Makefile is already set to do kernel-style cross-compiling, 42 48 but it will try to use <command>strip</command> to strip the second-stage -
boot/ppc/yaboot.xml
r996dcd2 r370b16d 70 70 xpointer="xpointer(//*[@os='r'])"/> 71 71 72 <screen os="j" role="nodump"><userinput>ybin -v -C /tools/etc/yaboot.conf</userinput></screen> 72 <screen os="j" role="nodump"><userinput>PATH_PREFIX=/tools ybin -v -C /tools/etc/yaboot.conf</userinput></screen> 73 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 75 href="../../bootable/ppc/yaboot.xml" 76 xpointer="xpointer(//*[@os='t'])"/> 77 78 <screen os="u" role="nodump"><userinput>PATH_PREFIX=/tools mkofboot</userinput></screen> 73 79 74 80 </sect2> -
boot/ppc64-chapter.xml
r996dcd2 r370b16d 23 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pwdgroup.xml"/> 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/kernel.xml"/> 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/hfsutils.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/mktemp.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/powerpc-utils.xml"/> 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/yaboot-build.xml"/> 25 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/settingenviron.xml"/> 26 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/fstab.xml"/> … … 29 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/devices.xml"/> 30 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/changingowner.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc /yaboot.xml"/>35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/yaboot.xml"/> 32 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/whatnext.xml"/> 33 37 -
bootable/ppc64-chapter.xml
r996dcd2 r370b16d 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/fstab.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc /kernel.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/kernel.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/yaboot.xml"/> 18 18 -
final-system/ppc64/yaboot.xml
r996dcd2 r370b16d 71 71 </variablelist> 72 72 73 <important>74 <para>The above patches and seds are critical in ensuring a75 successful build. In particular, the package will appear to install76 correctly without the second sed, but will fail to load linux,77 requiring you to use OF or a rescue disk to boot.</para>78 </important>79 80 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 74 href="../ppc/yaboot.xml" … … 92 85 <screen os="h"><userinput>CFLAGS="${BUILD32}" make PREFIX=/usr</userinput></screen> 93 86 94 <important>95 <para>The CFLAGS on the above command are equally critical96 for a successful install.</para>97 </important>98 99 87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 100 88 href="../ppc/yaboot.xml" 101 89 xpointer="xpointer(//*[@os='i'])"/> 102 90 103 <screen><userinput>make PREFIX=/usr install 2>&1 >instlog</userinput></screen> 91 <important os="j0"> 92 <para>The multilib install of yaboot can fail if you miss any of the 93 patches or seds, or omit the CFLAGS variable. <command>ld</command> will 94 issue warnings, but the install will appear to complete successfully. 95 That would result in an unbootable system, so you need to log the output 96 to check it.</para> 97 </important> 98 99 <screen><userinput>make PREFIX=/usr install 2>&1 | tee instlog</userinput></screen> 104 100 105 101 <para os='k'>To ensure that the install was successful, run the following … … 109 105 110 106 <para os='m'>If the command gave you <emphasis>any</emphasis> output 111 (... is incompatible with powerpc:common output) the build is broken and 112 you will have to repeat it with <emphasis>all</emphasis> of the items 113 marked as important.</para> 107 (... is incompatible with powerpc:common output) the build of yaboot is 108 broken and you will have to correct your error(s) and repeat it.</para> 114 109 115 110 </sect2> -
introduction/ppc/changelog.xml
r996dcd2 r370b16d 33 33 34 34 --> 35 36 <listitem> 37 <para>June 18, 2006</para> 38 <itemizedlist> 39 <listitem> 40 <para>[ken] - Added patch to let ofpath use PATH_PREFIX and add missing 41 PATH_PREFIX to the ybin command for the 'from CD' variant in Making the 42 Temporary System Bootable.</para> 43 </listitem> 44 </itemizedlist> 45 </listitem> 35 46 36 47 <listitem> -
introduction/ppc64/changelog.xml
r996dcd2 r370b16d 41 41 instead of updating config.{guess,sub} from installed versions.</para> 42 42 </listitem> 43 <listitem> 44 <para>[ken] - Fix up the bootable chapter for hfsutils, mktemp, 45 powerpc-utils, and yaboot. This should now work.</para> 46 </listitem> 43 47 </itemizedlist> 44 48 </listitem> -
materials/ppc/patches.xml
r996dcd2 r370b16d 35 35 </varlistentry> 36 36 37 <varlistentry os="yaboot-ofpath_path-patch"> 38 <term>Yaboot (&yaboot-version;) Ofpath_Path_Prefix Patch - <token>&yaboot-ofpath_path-patch-size;</token>:</term> 39 <listitem> 40 <para>Download: <ulink 41 url="&patches-root;yaboot/&yaboot-ofpath_path-patch;"/></para> 42 <para>MD5 sum: <literal>&yaboot-ofpath_path-patch-md5;</literal></para> 43 </listitem> 44 </varlistentry> 45 37 46 <varlistentry os="yaboot-sata-patch"> 38 47 <term>Yaboot (&yaboot-version;) SATA Patch - <token>&yaboot-sata-patch-size;</token>:</term> -
materials/ppc64/patches.xml
r996dcd2 r370b16d 54 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 55 55 href="../ppc/patches.xml" 56 xpointer="xpointer(//*[@os='yaboot-ofpath_path-patch'])"/> 57 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 59 href="../ppc/patches.xml" 56 60 xpointer="xpointer(//*[@os='yaboot-sata-patch'])"/> 57 61 -
patches.ent
r996dcd2 r370b16d 224 224 <!ENTITY yaboot-sata-patch-size "1 KB"> 225 225 226 <!ENTITY yaboot-ofpath_path-patch "yaboot-&yaboot-version;-ofpath_path_prefix-1.patch"> 227 <!ENTITY yaboot-ofpath_path-patch-md5 "3faf70e0cb4e4f62a1e8815c3452ab38"> 228 <!ENTITY yaboot-ofpath_path-patch-size "1 KB"> 229 226 230 <!-- Start of sparc/sparc64 patches --> 227 231
Note:
See TracChangeset
for help on using the changeset viewer.