source: chapter05/util-linux.xml@ 8aa7fde

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 8aa7fde was e043985, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Spelling and other general cleanup.
Use better method for installing kmod man pages.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10489 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • 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.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-tools-util-linux" role="wrap">
9 <?dbhtml filename="util-linux.html"?>
10
11 <sect1info condition="script">
12 <productname>util-linux</productname>
13 <productnumber>&util-linux-version;</productnumber>
14 <address>&util-linux-url;</address>
15 </sect1info>
16
17 <title>Util-linux-&util-linux-version;</title>
18
19 <indexterm zone="ch-tools-util-linux">
20 <primary sortas="a-Util-linux">Util-linux</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Util-linux package contains miscellaneous utility programs.</para>
27
28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
31
32 <seglistitem>
33 <seg>&util-linux-ch5-sbu;</seg>
34 <seg>&util-linux-ch5-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of Util-linux</title>
42
43 <para>Prepare Util-linux for compilation:</para>
44
45<screen><userinput remap="configure">./configure --prefix=/tools \
46 --disable-makeinstall-chown \
47 --without-systemdsystemunitdir \
48 PKG_CONFIG=""</userinput></screen>
49
50 <variablelist>
51 <title>The meaning of the configure option:</title>
52
53 <varlistentry>
54 <term><parameter>--disable-makeinstall-chown</parameter></term>
55 <listitem>
56 <para>This switch disables using the <command>chown</command> command
57 during installation. This is not needed when installing into the
58 /tools directory and avoids the necessity of installing as
59 root.</para>
60 </listitem>
61 </varlistentry>
62
63 <varlistentry>
64 <term><parameter>--without-systemdsystemunitdir</parameter></term>
65 <listitem>
66 <para>On systems that use systemd, the package tries to install
67 a systemd specific file to a non-existent directory in /tools.
68 This switch disables the unnecessary action.</para>
69 </listitem>
70 </varlistentry>
71
72 <varlistentry>
73 <term><envar>PKG_CONFIG=""</envar></term>
74 <listitem>
75 <para>Setting this envronment variable prevents adding unneeded
76 features that may be available on the host. Note that the location
77 shown for setting this environment variable is different from other
78 LFS sections where variables are set preceding the command. This
79 location is shown to demonstrate an alternative way of setting an
80 environment variable when using configure.</para>
81 </listitem>
82 </varlistentry>
83 </variablelist>
84
85 <para>Compile the package:</para>
86
87<screen><userinput remap="make">make</userinput></screen>
88
89 <para>Install the package:</para>
90
91<screen><userinput remap="install">make install</userinput></screen>
92
93 </sect2>
94
95</sect1>
Note: See TracBrowser for help on using the repository browser.