source: BOOK/boot/common/e2fsprogs.xml@ 3d04260

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3d04260 was 342c4cd, checked in by Chris Staub <chris@…>, 18 years ago

Text updates

  • Property mode set to 100644
File size: 3.4 KB
Line 
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=${CLFS} install</userinput></screen>
65
66 <variablelist os="j">
67 <title>The meaning of the make option:</title>
68
69 <varlistentry>
70 <term><parameter>DESTDIR=${CLFS}</parameter></term>
71 <listitem>
72 <para>The Makefile for e2fsprogs hard-codes a path to the
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>
76 </listitem>
77 </varlistentry>
78 </variablelist>
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
84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
85 href="../../final-system/common/e2fsprogs.xml"
86 xpointer="xpointer(//*[@os='l'])"/>
87
88 <para os="ad">Create needed symlinks for a bootable system:</para>
89
90<screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${CLFS}/sbin</userinput></screen>
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.