source: BOOK/boot/common/util-linux.xml@ 89d1048

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 89d1048 was 0220731, checked in by Jim Gifford <clfs@…>, 19 years ago

r3559@server (orig r1624): chris | 2006-05-17 10:47:43 -0700
More text updates

  • Property mode set to 100644
File size: 4.2 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-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
[93adf44a]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/util-linux.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]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"
[e0e40d3]27 xpointer="xpointer(//*[@os='p1'])"/>
[3f8be484]28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../../final-system/common/util-linux.xml"
[e0e40d3]31 xpointer="xpointer(//*[@os='p2'])"/>
[3f8be484]32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../../final-system/common/util-linux.xml"
[e0e40d3]35 xpointer="xpointer(//*[@os='p3'])"/>
[3f8be484]36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/util-linux.xml"
[e0e40d3]39 xpointer="xpointer(//*[@os='p4'])"/>
[3f8be484]40
41 <para os="ba">Util-linux does not use the freshly installed headers and
42 libraries from the <filename class="directory">/tools</filename>
[0220731]43 directory by default. This is fixed by altering the
44 <command>configure</command> script:</para>
[3f8be484]45
[eb55250]46<screen os="bb"><userinput>cp -v configure{,.orig}
[3f8be484]47sed -e 's@/usr/include@/tools/include@g' configure.orig > configure</userinput></screen>
48
[d5cf87a3]49 <para os="bc">The Util-linux installation uses <option>-o root</option>.
50 The following <command>sed</command> removes that since we don't have
51 users setup yet:</para>
[3f8be484]52
[eb55250]53<screen os="bd"><userinput>cp -v MCONFIG{,.orig}
[3f8be484]54sed -e 's|-o root||' MCONFIG.orig > MCONFIG</userinput></screen>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../../final-system/common/util-linux.xml"
[e0e40d3]58 xpointer="xpointer(//*[@os='a'])"/>
[3f8be484]59
[308a04c]60<screen os="be"><userinput>./configure</userinput></screen>
[3f8be484]61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="../../final-system/common/util-linux.xml"
[e0e40d3]64 xpointer="xpointer(//*[@os='c'])"/>
[3f8be484]65
[4815e28]66<screen os="bf"><userinput>make HAVE_KILL=yes HAVE_SLN=yes \
67HAVE_SHADOW=no CPUOPT="" ARCH="" \
68CPU=""</userinput></screen>
[3f8be484]69
[308a04c]70 <variablelist os="bg">
[3f8be484]71 <title>The meaning of the make parameters:</title>
72
[6bb43b3]73 <varlistentry>
74 <term><parameter>HAVE_KILL=yes</parameter></term>
75 <listitem>
76 <para>This prevents the <command>kill</command> program
77 from being built.</para>
78 </listitem>
79 </varlistentry>
[3f8be484]80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../../final-system/common/util-linux.xml"
[e0e40d3]83 xpointer="xpointer(//*[@os='e2'])"/>
[3f8be484]84
85 <varlistentry>
86 <term><parameter>HAVE_SHADOW=no</parameter></term>
87 <listitem>
[4815e28]88 <para>This disables linking to shadow .</para>
[3f8be484]89 </listitem>
90 </varlistentry>
91
92 <varlistentry>
93 <term><parameter>CPUOPT=""</parameter></term>
94 <listitem>
[4815e28]95 <para>This disables any compiler optimizations by CPU type.</para>
[3f8be484]96 </listitem>
97 </varlistentry>
98
99 <varlistentry>
100 <term><parameter>ARCH=""</parameter></term>
101 <listitem>
[4815e28]102 <para>This disables the detection of the architecture.</para>
[3f8be484]103 </listitem>
104 </varlistentry>
105
106 <varlistentry>
107 <term><parameter>CPU=""</parameter></term>
108 <listitem>
[4815e28]109 <para>This disables the detection of the CPU.</para>
[3f8be484]110 </listitem>
111 </varlistentry>
112
113 </variablelist>
114
[308a04c]115 <para os="bh">Install the package:</para>
[3f8be484]116
[4815e28]117<screen os="bi"><userinput>make HAVE_KILL=yes HAVE_SLN=yes HAVE_SHADOW=no \
118USE_TTY_GROUP=no CPUOPT="" ARCH="" \
119CPU="" DESTDIR=${LFS} install</userinput></screen>
[3f8be484]120
121 </sect2>
122
123 <sect2 role="content">
124 <title/>
125
126 <para>Details on this package are located in <xref
127 linkend="contents-util-linux" role="."/></para>
128
129 </sect2>
130
131</sect1>
Note: See TracBrowser for help on using the repository browser.