source: BOOK/boot/common/e2fsprogs.xml@ 2c2c9bc

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 2c2c9bc was bffe270, checked in by Jeremy Utley <jerutley@…>, 19 years ago

Fixed e2fsprogs in the bootsection - added DESTDIR to the install - fixes ticket 45

  • Property mode set to 100644
File size: 3.0 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 --host=${LFS_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="i">The installation for e2fsprogs hard-codes a path to the
63 <emphasis>mke2fs.conf</emphasis> file, causing the installation to fail
64 unless the DESTDIR parameter is used. Install the binaries and
65 documentation with the following command:</para>
66
67<screen os="j"><userinput>make DESTDIR=${LFS} install</userinput></screen>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../../final-system/common/e2fsprogs.xml"
71 xpointer="xpointer(//*[@os='k'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../../final-system/common/e2fsprogs.xml"
75 xpointer="xpointer(//*[@os='l'])"/>
76
77 <para os="ad">Create needed symlinks for a bootable system:</para>
78
79<screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${LFS}/sbin</userinput></screen>
80
81 </sect2>
82
83 <sect2 role="content">
84 <title/>
85
86 <para>Details on this package are located in <xref
87 linkend="contents-e2fsprogs" role="."/></para>
88
89 </sect2>
90
91</sect1>
Note: See TracBrowser for help on using the repository browser.