source: chapter05/util-linux.xml@ e88c73c

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since e88c73c was e88c73c, checked in by Krejzi <krejzi@…>, 10 years ago

Merge latest lfs svn, update to D-Bus 1.8.0, fix Systemd to build with latest lfs changes.

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

  • 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.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.</para>
77 </listitem>
78 </varlistentry>
79 </variablelist>
80
81 <para>Compile the package:</para>
82
83<screen><userinput remap="make">make</userinput></screen>
84
85 <para>Install the package:</para>
86
87<screen><userinput remap="install">make install</userinput></screen>
88
89 </sect2>
90
91</sect1>
Note: See TracBrowser for help on using the repository browser.