[bf8c11f] | 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 |
|
---|
[c4b671e] | 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../../final-system/common/e2fsprogs.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[bf8c11f] | 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 |
|
---|
[40c1b5b] | 37 | <screen os="aa"><userinput>../configure --prefix=/tools \
|
---|
[bf8c11f] | 38 | --enable-elf-shlibs --disable-evms \
|
---|
[9cb6b64] | 39 | --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
|
---|
[bf8c11f] | 40 |
|
---|
[f32f537] | 41 | <variablelist os="e">
|
---|
[bf8c11f] | 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"
|
---|
[e6423a01] | 46 | xpointer="xpointer(//*[@os='e2'])"/>
|
---|
[bf8c11f] | 47 |
|
---|
| 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 49 | href="../../final-system/common/e2fsprogs.xml"
|
---|
[e6423a01] | 50 | xpointer="xpointer(//*[@os='e3'])"/>
|
---|
[bf8c11f] | 51 |
|
---|
| 52 | </variablelist>
|
---|
| 53 |
|
---|
[287d7b9] | 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'])"/>
|
---|
[bf8c11f] | 61 |
|
---|
[9724aa8] | 62 | <para os="h">Install the binaries and documentation:</para>
|
---|
[bf8c11f] | 63 |
|
---|
[9724aa8] | 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>
|
---|
[ac1c905] | 70 | <term><parameter>DESTDIR=${LFS}</parameter></term>
|
---|
[9724aa8] | 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>
|
---|
[bf8c11f] | 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 |
|
---|
[f32f537] | 83 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 84 | href="../../final-system/common/e2fsprogs.xml"
|
---|
| 85 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 86 |
|
---|
[40c1b5b] | 87 | <para os="ad">Create needed symlinks for a bootable system:</para>
|
---|
[bf8c11f] | 88 |
|
---|
[d1a3111] | 89 | <screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${LFS}/sbin</userinput></screen>
|
---|
[bf8c11f] | 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>
|
---|