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.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index 6a81f3186..f4a7c5640 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -62,7 +62,7 @@
-->
<para>Prepare Util-linux for compilation:</para>
-<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
+<screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--docdir=/usr/share/doc/util-linux-&util-linux-version; \
--disable-chfn-chsh \
--disable-login \
@@ -76,6 +76,18 @@
--without-systemd \
--without-systemdsystemunitdir</userinput></screen>
+<screen revision="systemd"><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-nologin \
+ --disable-su \
+ --disable-setpriv \
+ --disable-runuser \
+ --disable-pylibmount \
+ --disable-static \
+ --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>