- Timestamp:
- Jan 20, 2012, 10:37:22 AM (13 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 162e1b4, bcb91ad
- Parents:
- 79e7622
- Location:
- BOOK
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/ppc/yaboot-build.xml
r79e7622 ra5f7c53e 33 33 loader. It also tries to change user and group ownership for the installed 34 34 files to <systemitem class="username">root</systemitem>, which the 35 <systemitem class="username">clfs</systemitem> user cannot do. The following 36 command fixes both issues:</para> 35 <systemitem class="username">clfs</systemitem> user cannot do. It will also 36 fail due to a compile warning with the -Werror flag on. The following 37 command fixes these issues:</para> 37 38 38 39 <screen><userinput>cp -v Makefile{,.orig} 39 40 sed -e "s/\(strip \)/${CLFS_TARGET}-\1/" \ 40 41 -e 's/-o root -g root//' \ 42 -e 's/-Werror//' \ 41 43 Makefile.orig > Makefile</userinput></screen> 42 44 -
BOOK/boot/ppc64/yaboot-build.xml
r79e7622 ra5f7c53e 43 43 -e "s/\(strip \)/${CLFS_TARGET}-\1/" \ 44 44 -e 's/-o root -g root//' \ 45 -e 's/-Werror//' \ 45 46 Makefile.orig > Makefile</userinput></screen> 46 47 -
BOOK/final-system/ppc/yaboot.xml
r79e7622 ra5f7c53e 31 31 32 32 <screen os="b"><userinput>sed -i 's%/usr/local%/usr%' man/*</userinput></screen> 33 34 <para os="aa"> Prevent the build from failing due to warnings with 35 the following sed:</para> 36 37 <screen os="ba"><userinput>sed -i 's%-Werror%%' Makefile</userinput></screen> 33 38 34 39 <para os="c">Compile the package:</para> -
BOOK/final-system/ppc64/yaboot.xml
r79e7622 ra5f7c53e 24 24 <para>Existing multilib distributions alter gcc to default to 32-bit 25 25 output. Because our gcc defaults to 64-bit, we need to pass appropriate 26 options to both the compiler and the linker. The Makefile already 27 overrides any CC and ignores LDFLAGS in favour of its own variables, so we 28 need to use the following seds for a successful compile and install.</para> 26 options to both the compiler and the linker. To prevent the build from 27 failing due to compiler warnings, the -Werror flag is removed. The 28 Makefile already overrides any CC and ignores LDFLAGS in favour of 29 its own variables, so we need to use the following seds for a 30 successful compile and install.</para> 29 31 30 32 <screen><userinput>sed -i -e "s/\(-print-libgcc-file-name\)/${BUILD32} \1/" \ 33 -e "s/-Werror//" \ 31 34 -e "s/\(-Bstatic\)/-melf32ppclinux \1/" Makefile 32 35 </userinput></screen> … … 41 44 variable and inserts the flag to force <command>gcc</command> to 42 45 create 32-bit code when compiling yaboot.</para> 46 </listitem> 47 </varlistentry> 48 <varlistentry> 49 <term><parameter>"s/-Werror//"</parameter></term> 50 <listitem> 51 <para>This deletes the -Werror flag from the Makefile.</para> 43 52 </listitem> 44 53 </varlistentry> -
BOOK/introduction/ppc/changelog.xml
r79e7622 ra5f7c53e 33 33 34 34 --> 35 <listitem> 36 <para>January 20, 2012</para> 37 <itemizedlist> 38 <listitem> 39 <para>[Jonathan] - Updated Yaboot from 1.3.14 to 1.3.17 thanks to Code Monkey.</para> 40 </listitem> 41 </itemizedlist> 42 </listitem> 35 43 36 44 <listitem> -
BOOK/introduction/ppc64/changelog.xml
r79e7622 ra5f7c53e 33 33 34 34 --> 35 <listitem> 36 <para>January 20, 2012</para> 37 <itemizedlist> 38 <listitem> 39 <para>[Jonathan] - Updated Yaboot from 1.3.14 to 1.3.17 thanks to Code Monkey.</para> 40 </listitem> 41 </itemizedlist> 42 </listitem> 35 43 36 44 <listitem> -
BOOK/packages.ent
r79e7622 ra5f7c53e 461 461 <!ENTITY xz-home "http://tukaani.org/xz/"> 462 462 463 <!ENTITY yaboot-version "1.3.1 4">464 <!ENTITY yaboot-size "21 3KB">463 <!ENTITY yaboot-version "1.3.17"> 464 <!ENTITY yaboot-size "219 KB"> 465 465 <!ENTITY yaboot-url "http://yaboot.ozlabs.org/releases/yaboot-&yaboot-version;.tar.gz"> 466 <!ENTITY yaboot-md5 " 9b1246c474eeb37f61081ad762563b35">466 <!ENTITY yaboot-md5 "f599f52d1887a86fd798252d2946f635"> 467 467 <!ENTITY yaboot-home "http://yaboot.ozlabs.org"> 468 468
Note:
See TracChangeset
for help on using the changeset viewer.