source: BOOK/boot/ppc64/e2fsprogs.xml@ 0e3ea10

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0e3ea10 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
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
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
18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19 href="../../final-system/common/e2fsprogs.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of E2fsprogs</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26 href="../multilib/e2fsprogs.xml"
27 xpointer="xpointer(//*[@os='m1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30 href="../multilib/e2fsprogs.xml"
31 xpointer="xpointer(//*[@os='m2'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
34 href="../common/e2fsprogs.xml"
35 xpointer="xpointer(//*[@os='a'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
38 href="../common/e2fsprogs.xml"
39 xpointer="xpointer(//*[@os='b'])"/>
40
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>
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
52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
53 href="../common/e2fsprogs.xml"
54 xpointer="xpointer(//*[@os='c'])"/>
55
56<screen os="aa"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG=true \
57 ../configure --prefix=/tools --enable-elf-shlibs \
58 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
59 --disable-libblkid --disable-libuuid --disable-fsck \
60 --disable-uuidd --cache-file=config.cache</userinput></screen>
61
62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
63 href="../common/e2fsprogs.xml"
64 xpointer="xpointer(//*[@os='e'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
67 href="../64/e2fsprogs.xml"
68 xpointer="xpointer(//*[@os='f'])"/>
69
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>
74
75 <para os="i">Install the e2fsck binary:</para>
76
77<screen os="j"><userinput>make install -C e2fsck</userinput></screen>
78
79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
80 href="../common/e2fsprogs.xml"
81 xpointer="xpointer(//*[@os='k'])"/>
82
83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
84 href="../common/e2fsprogs.xml"
85 xpointer="xpointer(//*[@os='l'])"/>
86
87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
88 href="../common/e2fsprogs.xml"
89 xpointer="xpointer(//*[@os='ad'])"/>
90
91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
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.