1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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/2003/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/2003/XInclude"
|
---|
26 | href="../../final-system/common/e2fsprogs.xml"
|
---|
27 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
28 |
|
---|
29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
30 | href="../../final-system/common/e2fsprogs.xml"
|
---|
31 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
32 |
|
---|
33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
34 | href="../../final-system/common/e2fsprogs.xml"
|
---|
35 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
36 |
|
---|
37 | <screen os="aa"><userinput>../configure --prefix=/tools \
|
---|
38 | --enable-elf-shlibs --disable-evms \
|
---|
39 | --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
|
---|
40 |
|
---|
41 | <variablelist os="e">
|
---|
42 | <title>The meaning of the configure options:</title>
|
---|
43 |
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
45 | href="../../final-system/common/e2fsprogs.xml"
|
---|
46 | xpointer="xpointer(//*[@os='e2'])"/>
|
---|
47 |
|
---|
48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
49 | href="../../final-system/common/e2fsprogs.xml"
|
---|
50 | xpointer="xpointer(//*[@os='e3'])"/>
|
---|
51 |
|
---|
52 | </variablelist>
|
---|
53 |
|
---|
54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
55 | href="../../final-system/common/e2fsprogs.xml"
|
---|
56 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
57 |
|
---|
58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
59 | href="../../final-system/common/e2fsprogs.xml"
|
---|
60 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
61 |
|
---|
62 | <para os="h">Install the binaries and documentation:</para>
|
---|
63 |
|
---|
64 | <screen os="i"><userinput>make DESTDIR=${LFS} install</userinput></screen>
|
---|
65 |
|
---|
66 | <variablelist os="j">
|
---|
67 | <title>The meaning of the make option:</title>
|
---|
68 |
|
---|
69 | <varlistentry>
|
---|
70 | <term><parameter>DESTDIR=${LFS}</parameter></term>
|
---|
71 | <listitem>
|
---|
72 | <para>The Makefile for e2fsprogs hard-codes a path to the
|
---|
73 | <filename>mke2fs.conf</filename> file, causing the installation to
|
---|
74 | fail unless the DESTDIR parameter is used.</para>
|
---|
75 | </listitem>
|
---|
76 | </varlistentry>
|
---|
77 | </variablelist>
|
---|
78 |
|
---|
79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
80 | href="../../final-system/common/e2fsprogs.xml"
|
---|
81 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
82 |
|
---|
83 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
84 | href="../../final-system/common/e2fsprogs.xml"
|
---|
85 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
86 |
|
---|
87 | <para os="ad">Create needed symlinks for a bootable system:</para>
|
---|
88 |
|
---|
89 | <screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${LFS}/sbin</userinput></screen>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2 role="content">
|
---|
94 | <title/>
|
---|
95 |
|
---|
96 | <para>Details on this package are located in <xref
|
---|
97 | linkend="contents-e2fsprogs" role="."/></para>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | </sect1>
|
---|