aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/util-linux.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/util-linux.xml')
-rw-r--r--chapter06/util-linux.xml19
1 files changed, 15 insertions, 4 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index 2a19a5bbb..de57d712a 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -54,16 +54,27 @@
<sect2 role="installation">
<title>Installation of Util-linux</title>
-
+<!--
<para>First, fix one of the regression tests:</para>
<screen><userinput remap="pre">sed -e 's/2^64/(2^64/' -e 's/E &lt;/E) &lt;=/' -e 's/ne /eq /' \
-i tests/ts/ipcs/limits2</userinput></screen>
-
+-->
<para>Prepare Util-linux for compilation:</para>
-<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
- --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
+<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
+ --docdir=/usr/share/doc/util-linux-&util-linux-version; \
+ --disable-chfn-chsh \
+ --disable-login \
+ --disable-su \
+ --disable-setpriv \
+ --disable-runuser \
+ --disable-pylibmount \
+ --without-python</userinput></screen>
+
+ <para>The --disable and --without options prevent warnings about
+ building components that require packages not in LFS or are
+ inconsistent with programs installed by other packages.</para>
<para>Compile the package:</para>