source: BOOK/chroot/common/util-linux.xml @ 07114c98

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 07114c98 was 4462e59, checked in by Jim Gifford <clfs@…>, 18 years ago

r2953@server (orig r1407): chris | 2006-04-18 09:10:30 -0700
Eliminated a redundant -r from a cp command, and added an explanation for make parameters in chroot/util-linux.

  • Property mode set to 100644
File size: 2.7 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-chroot-util-linux" role="wrap">
9  <?dbhtml filename="util-linux.html"?>
10
11  <title>Util-linux-&util-linux-version;</title>
12
13  <indexterm zone="ch-chroot-util-linux">
14    <primary sortas="a-Util-linux">Util-linux</primary>
15    <secondary>chroot</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='p3'])"/>
28
29    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30    href="../../final-system/common/util-linux.xml"
31    xpointer="xpointer(//*[@os='p4'])"/>
32
33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34    href="../../boot/common/util-linux.xml"
35    xpointer="xpointer(//*[@os='ba'])"/>
36
37<screen os="ca"><userinput>cp -v configure configure.orig
38sed -e 's@/usr/include@/tools/include@g' configure.orig &gt; configure</userinput></screen>
39
40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41    href="../../final-system/common/util-linux.xml"
42    xpointer="xpointer(//*[@os='a'])"/>
43
44<screen os="cb"><userinput>./configure</userinput></screen>
45
46    <para os="cc">Compile some support routines:</para>
47
48<screen os="cd"><userinput>make ARCH="" CPU="" -C lib</userinput></screen>
49
50    <variablelist os="bg">
51      <title>The meaning of the make parameters:</title>
52
53      <varlistentry>
54        <term><parameter>ARCH=""</parameter></term>
55        <listitem>
56          <para>This disables the detection of the architecture.</para>
57        </listitem>
58      </varlistentry>
59
60      <varlistentry>
61        <term><parameter>CPU=""</parameter></term>
62        <listitem>
63          <para>This disables the detection of the CPU.</para>
64        </listitem>
65      </varlistentry>
66
67    </variablelist>
68
69    <para os="ce">Only a few of the utilities contained in this package need to be
70    built:</para>
71
72<screen os="cf"><userinput>make ARCH="" CPU="" -C mount mount umount
73make ARCH="" CPU="" -C text-utils more</userinput></screen>
74
75    <para os="cg">Copy these programs to the temporary tools directory:</para>
76
77<screen os="ch"><userinput>cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
78
79  </sect2>
80
81  <sect2 role="content">
82    <title/>
83
84    <para>Details on this package are located in <xref
85    linkend="contents-util-linux" role="."/></para>
86
87  </sect2>
88
89</sect1>
Note: See TracBrowser for help on using the repository browser.