aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/shadow.xml18
1 files changed, 12 insertions, 6 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index 1e0d03b0f..f4f2cff01 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -16,7 +16,7 @@ way.</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
-<seglistitem><seg>0.3 SBU</seg><seg>15.9 MB</seg></seglistitem>
+<seglistitem><seg>0.4 SBU</seg><seg>14.7 MB</seg></seglistitem>
</segmentedlist>
<segmentedlist>
@@ -34,14 +34,20 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
prior to building Shadow. Then add <parameter>--with-libcrack</parameter> to the
<command>configure</command> command below.</para></note>
-<para>Apply a patch to fix a number of incorrect assumptions in Shadow's
-<command>configure</command> script:</para>
+<para>Prepare Shadow for compilation:</para>
-<screen><userinput>patch -Np1 -i ../&shadow-configure-patch;</userinput></screen>
+<screen><userinput>./configure --libdir=/lib --enable-shared --without-selinux</userinput></screen>
-<para>Prepare Shadow for compilation:</para>
+<para>The meaning of the configure options:</para>
-<screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
+<variablelist>
+<varlistentry>
+<term><parameter>--without-selinux</parameter></term>
+<listitem><para>Support for selinux is enabled by default, but selinux is not
+built in a base LFS system. The <command>configure</command> script will fail
+if this option is not used.</para></listitem>
+</varlistentry>
+</variablelist>
<para>Disable the installation of the <command>groups</command> program and its man page, as Coreutils provides a better version:</para>