mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-09 13:59:51 +01:00
Redaction changes ported from trunk.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1.1/BOOK@7072 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
7d0b6d3eaa
commit
241bb14b23
@ -43,7 +43,8 @@ First a summary, then a detailed log.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem><para>October 23, 2005 [manuel]: Added Bash documentation
|
||||
installation.</para></listitem>
|
||||
installation. Added notes about libiconv and Cracklib. Fixed the installation
|
||||
of Sed documentation.</para></listitem>
|
||||
|
||||
<listitem><para>October 19, 2005 [manuel]: Updated the acknowledgements to
|
||||
current trunk version. Ported some redaction changes in preface and chapter01
|
||||
|
@ -14,8 +14,12 @@
|
||||
|
||||
<para>When the kernel boots the system, it requires the presence of a few device
|
||||
nodes, in particular the <filename class="devicefile">console</filename> and
|
||||
<filename class="devicefile">null</filename> devices. Create these by
|
||||
running the following commands:</para>
|
||||
<filename class="devicefile">null</filename> devices. The device nodes will
|
||||
be created on the hard disk so that they are available before
|
||||
<command>udev</command> has been started, and additionally when Linux is started
|
||||
in single user mode (hence the restrictive permissions on
|
||||
<filename class="devicefile">console</filename>). Create the devices by running
|
||||
the following commands:</para>
|
||||
|
||||
<screen><userinput>mknod -m 600 /dev/console c 5 1
|
||||
mknod -m 666 /dev/null c 1 3</userinput></screen>
|
||||
|
@ -31,6 +31,15 @@ Gawk, GCC, Gettext, Grep, Make, Perl, Sed, and Texinfo</seg></seglistitem>
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Glibc</title>
|
||||
|
||||
<note><para>Some packages outside of LFS suggest installing GNU libiconv in
|
||||
order to translate data from one encoding to another. The project's home page
|
||||
(<ulink url="http://www.gnu.org/software/libiconv/"/>) says <quote>This library
|
||||
provides an <function>iconv()</function> implementation, for use on systems
|
||||
which don't have one, or whose implementation cannot convert from/to Unicode.
|
||||
</quote> Glibc provides an <function>iconv()</function> implementation and can
|
||||
convert from/to Unicode, therefore libiconv is not required on an LFS
|
||||
system.</para></note>
|
||||
|
||||
<para>This package is known to have issues when its default
|
||||
optimization flags (including the <parameter>-march</parameter> and
|
||||
<parameter>-mcpu</parameter> options) are changed. If any environment
|
||||
@ -98,7 +107,8 @@ circumstance.</para></important>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<screen><userinput>make check</userinput></screen>
|
||||
<screen><userinput>make -k check >glibc-check-log 2>&1
|
||||
grep Error glibc-check-log</userinput></screen>
|
||||
|
||||
<para>The Glibc test suite is highly dependent on certain functions of
|
||||
the host system, in particular the kernel. In general, the Glibc test
|
||||
|
@ -28,6 +28,13 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Texinfo</seg></seglistitem>
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Sed</title>
|
||||
|
||||
<para>By default, Sed installs its man page in
|
||||
<filename class="directory">/usr/share/doc</filename>. Alter this to
|
||||
<filename class="directory">/usr/share/doc/sed-&sed-version;</filename> by
|
||||
applying the following <command>sed</command>:</para>
|
||||
|
||||
<screen><userinput>sed -i 's@/doc@&/sed-&sed-version;@' doc/Makefile.in</userinput></screen>
|
||||
|
||||
<para>Prepare Sed for compilation:</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
|
||||
|
@ -29,6 +29,11 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Shadow</title>
|
||||
|
||||
<note><para>If you would like to enforce the use of strong passwords, refer to
|
||||
<ulink url="&blfs-root;view/svn/postlfs/cracklib.html"/> for installing Cracklib
|
||||
prior to building Shadow. Then add <parameter>--with-libcrack</parameter> to the
|
||||
<command>configure</command> command below.</para></note>
|
||||
|
||||
<para>Prepare Shadow for compilation:</para>
|
||||
|
||||
<screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
|
||||
@ -68,6 +73,12 @@ file while copying it to its destination:</para>
|
||||
|
||||
<indexterm zone="shadow-login_defs"><primary sortas="e-/etc/login.defs">/etc/login.defs</primary></indexterm>
|
||||
|
||||
<note><para>If you built Shadow with Cracklib support, insert the following into
|
||||
the <command>sed</command> given below:</para>
|
||||
|
||||
<screen><literal>-e 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@'</literal></screen>
|
||||
</note>
|
||||
|
||||
<screen><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
|
||||
-e 's@/var/spool/mail@/var/mail@' \
|
||||
etc/login.defs.linux > /etc/login.defs</userinput></screen>
|
||||
|
Loading…
Reference in New Issue
Block a user