source: boot/common/util-linux.xml@ 34683fd

Last change on this file since 34683fd was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

  • Property mode set to 100644
File size: 4.1 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-util-linux" role="wrap">
9 <?dbhtml filename="util-linux.html"?>
10
11 <title>Util-linux-&util-linux-version;</title>
12
13 <indexterm zone="ch-boot-util-linux">
14 <primary sortas="a-Util-linux">Util-linux</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/util-linux.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Util-linux</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../../final-system/common/util-linux.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../../final-system/common/util-linux.xml"
31 xpointer="xpointer(//*[@os='b'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../../final-system/common/util-linux.xml"
35 xpointer="xpointer(//*[@os='b1'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/util-linux.xml"
39 xpointer="xpointer(//*[@os='b2'])"/>
40
41 <para os="ba">Util-linux does not use the freshly installed headers and
42 libraries from the <filename class="directory">/tools</filename>
43 directory by default. This is fixed by altering the configure script:</para>
44
45<screen os="bb"><userinput>cp configure{,.orig}
46sed -e 's@/usr/include@/tools/include@g' configure.orig > configure</userinput></screen>
47
48 <para os="bc">Util-linux installs uses <option>-o root</option>, the following
49 <command>sed</command> removes that since we don't have users setup
50 yet:</para>
51
52<screen os="bd"><userinput>cp MCONFIG{,.orig}
53sed -e 's|-o root||' MCONFIG.orig > MCONFIG</userinput></screen>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../../final-system/common/util-linux.xml"
57 xpointer="xpointer(//*[@os='c'])"/>
58
59<screen><userinput>./configure</userinput></screen>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../../final-system/common/util-linux.xml"
63 xpointer="xpointer(//*[@os='d'])"/>
64
65<screen os="be"><userinput>make HAVE_KILL=yes HAVE_SLN=yes HAVE_SHADOW=no CPUOPT="" ARCH="" CPU=""</userinput></screen>
66
67 <variablelist os="bf">
68 <title>The meaning of the make parameters:</title>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../../final-system/common/util-linux.xml"
72 xpointer="xpointer(//*[@os='fa'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../../final-system/common/util-linux.xml"
76 xpointer="xpointer(//*[@os='fb'])"/>
77
78 <varlistentry>
79 <term><parameter>HAVE_SHADOW=no</parameter></term>
80 <listitem>
81 <para>This do ... .</para>
82 </listitem>
83 </varlistentry>
84
85 <varlistentry>
86 <term><parameter>CPUOPT=""</parameter></term>
87 <listitem>
88 <para>This do ... .</para>
89 </listitem>
90 </varlistentry>
91
92 <varlistentry>
93 <term><parameter>ARCH=""</parameter></term>
94 <listitem>
95 <para>This do ... .</para>
96 </listitem>
97 </varlistentry>
98
99 <varlistentry>
100 <term><parameter>CPU=""</parameter></term>
101 <listitem>
102 <para>This do ... .</para>
103 </listitem>
104 </varlistentry>
105
106 </variablelist>
107
108 <para os="bg">Install the package:</para>
109
110<screen os="bh"><userinput>make HAVE_KILL=yes HAVE_SLN=yes HAVE_SHADOW=no USE_TTY_GROUP=no CPUOPT="" ARCH="" CPU="" DESTDIR=${LFS} install</userinput></screen>
111
112 <para os="bi">Now we will put a copy of mount in <filename
113 class="directory">/tools/bin</filename>:</para>
114
115<screen os="bj"><userinput>cp ${LFS}/bin/mount /tools/bin</userinput></screen>
116
117 </sect2>
118
119 <sect2 role="content">
120 <title/>
121
122 <para>Details on this package are located in <xref
123 linkend="contents-util-linux" role="."/></para>
124
125 </sect2>
126
127</sect1>
Note: See TracBrowser for help on using the repository browser.