source: BOOK/boot/common/e2fsprogs.xml@ 36d9f4c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 36d9f4c was 6d8c4eb, checked in by Jim Gifford <clfs@…>, 18 years ago

Update to E2Fsprogs build

  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[3f8be484]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
[93adf44a]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/e2fsprogs.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]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
[308a04c]37<screen os="aa"><userinput>../configure --prefix=/tools \
[6d8c4eb]38 --enable-elf-shlibs --disable-evms --with-cc=${CC} --with-linker=${LD} \
[07114c98]39 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
[3f8be484]40
[6bb43b3]41 <variablelist os="e">
[3f8be484]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"
[e0e40d3]46 xpointer="xpointer(//*[@os='e2'])"/>
[3f8be484]47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="../../final-system/common/e2fsprogs.xml"
[e0e40d3]50 xpointer="xpointer(//*[@os='e3'])"/>
[3f8be484]51
52 </variablelist>
53
[eb55250]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'])"/>
[3f8be484]61
[9680956]62 <para os="h">Install the binaries and documentation:</para>
[3f8be484]63
[3f76cac]64<screen os="i"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[9680956]65
66 <variablelist os="j">
67 <title>The meaning of the make option:</title>
68
69 <varlistentry>
[3f76cac]70 <term><parameter>DESTDIR=${CLFS}</parameter></term>
[9680956]71 <listitem>
72 <para>The Makefile for e2fsprogs hard-codes a path to the
[342c4cd]73 <filename>mke2fs.conf</filename> file, attempting to install it into
74 ${DESTDIR}/etc, causing the installation to fail as it tries to write
75 to /etc. The DESTDIR parameter prevents this.</para>
[9680956]76 </listitem>
77 </varlistentry>
78 </variablelist>
[3f8be484]79
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="../../final-system/common/e2fsprogs.xml"
82 xpointer="xpointer(//*[@os='k'])"/>
83
[6bb43b3]84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
85 href="../../final-system/common/e2fsprogs.xml"
86 xpointer="xpointer(//*[@os='l'])"/>
87
[308a04c]88 <para os="ad">Create needed symlinks for a bootable system:</para>
[3f8be484]89
[3f76cac]90<screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${CLFS}/sbin</userinput></screen>
[3f8be484]91
92 </sect2>
93
94 <sect2 role="content">
95 <title/>
96
97 <para>Details on this package are located in <xref
98 linkend="contents-e2fsprogs" role="."/></para>
99
100 </sect2>
101
102</sect1>
Note: See TracBrowser for help on using the repository browser.