source: BOOK/boot/ppc64/e2fsprogs.xml@ 4dd2457

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4dd2457 was fcbd1c6, checked in by Jonathan Norman <jon@…>, 13 years ago

Fixed e2fsprogs in PPC64 boot section

  • Property mode set to 100644
File size: 3.6 KB
RevLine 
[c2ec9ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[c2ec9ae]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-e2fsprogs" role="wrap">
9 <?dbhtml filename="e2fsprogs.html"?>
10
11 <title>E2fsprogs-&e2fsprogs-version;</title>
12
13 <indexterm zone="ch-boot-e2fsprogs">
14 <primary sortas="a-E2fsprogs">E2fsprogs</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[c2ec9ae]19 href="../../final-system/common/e2fsprogs.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of E2fsprogs</title>
24
[dabbced]25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[eb55250]26 href="../multilib/e2fsprogs.xml"
27 xpointer="xpointer(//*[@os='m1'])"/>
[c2ec9ae]28
[dabbced]29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[eb55250]30 href="../multilib/e2fsprogs.xml"
31 xpointer="xpointer(//*[@os='m2'])"/>
[c2ec9ae]32
[dabbced]33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[c2ec9ae]34 href="../common/e2fsprogs.xml"
35 xpointer="xpointer(//*[@os='a'])"/>
36
[dabbced]37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[c2ec9ae]38 href="../common/e2fsprogs.xml"
39 xpointer="xpointer(//*[@os='b'])"/>
40
[0b1e14e]41 <para>When cross-compiling, <command>configure</command> cannot
42 determine sizes and assumes short=2, int=4, long=4, long long=8. This is
43 not correct for PowerPC64. Adjust the values with:</para>
[c2ec9ae]44
45<!--<screen><userinput>echo "ac_cv_sizeof_long_long=8" &gt; config.cache
46echo "ac_cv_sizeof_long=8" &gt;&gt; config.cache
47echo "ac_cv_sizeof_int=4" &gt;&gt; config.cache
48echo "ac_cv_sizeof_short=2" &gt;&gt; config.cache</userinput></screen>-->
49
50<screen><userinput>echo "ac_cv_sizeof_long=8" &gt; config.cache</userinput></screen>
51
[dabbced]52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[c2ec9ae]53 href="../common/e2fsprogs.xml"
54 xpointer="xpointer(//*[@os='c'])"/>
55
[04b4d8a]56<screen os="aa"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG=true \
57 ../configure --prefix=/tools --enable-elf-shlibs \
[20766cc]58 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[7bfc8ec]59 --disable-libblkid --disable-libuuid --disable-fsck \
60 --disable-uuidd --cache-file=config.cache</userinput></screen>
[c2ec9ae]61
[dabbced]62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[c2ec9ae]63 href="../common/e2fsprogs.xml"
64 xpointer="xpointer(//*[@os='e'])"/>
65
[dabbced]66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[eb55250]67 href="../64/e2fsprogs.xml"
[191b828]68 xpointer="xpointer(//*[@os='f'])"/>
[c2ec9ae]69
[fcbd1c6]70<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
71 LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" libs
72make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" LIBBLKID="-lblkid" \
73 STATIC_LIBBLKID="-lblkid" LDFLAGS="-Wl,-rpath,/tools/lib64" -C e2fsck/</userinput></screen>
[199a3a8]74
[fcbd1c6]75 <para os="i">Install the e2fsck binary:</para>
[9680956]76
[fcbd1c6]77<screen os="j"><userinput>make install -C e2fsck</userinput></screen>
[c2ec9ae]78
[dabbced]79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[c2ec9ae]80 href="../common/e2fsprogs.xml"
81 xpointer="xpointer(//*[@os='k'])"/>
82
[dabbced]83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[c2ec9ae]84 href="../common/e2fsprogs.xml"
85 xpointer="xpointer(//*[@os='l'])"/>
86
[dabbced]87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[c2ec9ae]88 href="../common/e2fsprogs.xml"
89 xpointer="xpointer(//*[@os='ad'])"/>
90
[dabbced]91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[c2ec9ae]92 href="../common/e2fsprogs.xml"
93 xpointer="xpointer(//*[@os='ae'])"/>
94
95 </sect2>
96
97 <sect2 role="content">
98 <title/>
99
100 <para>Details on this package are located in <xref
101 linkend="contents-e2fsprogs" role="."/></para>
102
103 </sect2>
104
105</sect1>
Note: See TracBrowser for help on using the repository browser.