source: chapter05/util-linux-ng.xml@ cbd7c84

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 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 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 cbd7c84 was cbd7c84, checked in by Randy McMurchy <randy@…>, 16 years ago

Added an explanation for the make command in the Chapter 5 Util-linux-ng instructions

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

  • Property mode set to 100644
File size: 2.9 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-ng" role="wrap">
9 <?dbhtml filename="util-linux-ng.html"?>
10
11 <sect1info condition="script">
12 <productname>util-linux-ng</productname>
13 <productnumber>&util-linux-ng-version;</productnumber>
14 <address>&util-linux-ng-url;</address>
15 </sect1info>
16
17 <title>Util-linux-ng-&util-linux-ng-version;</title>
18
19 <indexterm zone="ch-tools-util-linux-ng">
20 <primary sortas="a-Util-linux-ng">Util-linux-ng</primary>
21 <secondary>tools</secondary>
22 </indexterm>
23
24 <sect2 role="package">
25 <title/>
26
27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
28 href="../chapter06/util-linux-ng.xml"
29 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
36 <seg>&util-linux-ng-ch5-sbu;</seg>
37 <seg>&util-linux-ng-ch5-du;</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Util-linux-ng</title>
45
46 <para>Prepare Util-linux-ng for compilation:</para>
47
48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
49
50 <para>Only a few of the utilities contained in this package need to be
51 built:</para>
52
53<screen><userinput remap="make">make BLKID_LIBS="-lblkid -luuid" -C mount mount umount
54make -C text-utils more</userinput></screen>
55
56 <variablelist>
57 <title>The meaning of the make parameter:</title>
58
59 <varlistentry>
60 <term><parameter>BLKID_LIBS="-lblkid -luuid"</parameter></term>
61 <listitem>
62 <para>When building only a subset of the package, the
63 <filename class="libraryfile">libuuid.so</filename> library is not
64 pulled into the build as it is supposed to. This command overrides
65 the default from the <filename>Makefile</filename>.</para>
66 </listitem>
67 </varlistentry>
68
69 </variablelist>
70
71 <!-- Not sure why this is in there. There is no test suite. Though
72 running 'make check' may build these programs, there is no
73 testing done.
74 <para>This package comes with a test suite, but running it will cause all of
75 the binaries to be built and tested. If you still wish to run the tests,
76 issue:</para>
77
78<screen><userinput remap="test">make check</userinput></screen> -->
79
80 <para>This package does not come with a test suite.</para>
81
82 <para>Copy these programs to the temporary tools directory:</para>
83
84<screen><userinput remap="install">cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
85
86 </sect2>
87
88 <sect2 role="content">
89 <title/>
90
91 <para>Details on this package are located in
92 <xref linkend="contents-utillinux" role="."/></para>
93
94 </sect2>
95
96</sect1>
Note: See TracBrowser for help on using the repository browser.