Minor updates.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11939 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2020-06-14 15:24:09 +00:00
parent a4053b5ba2
commit 3d92d63bde
5 changed files with 18 additions and 62 deletions

View File

@ -105,14 +105,6 @@ popd</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><parameter>--enable-pc-files</parameter></term>
<listitem>
<para>This switch generates and installs .pc files for pkg-config.
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><parameter>--without-normal</parameter></term> <term><parameter>--without-normal</parameter></term>
<listitem> <listitem>
@ -120,16 +112,7 @@ popd</userinput></screen>
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<!--
<varlistentry>
<term><parameter>- -disable-db-install</parameter></term>
<listitem>
<para>This switch disables building the terminfo database: it is not
needed at this stage, and if <command>tic</command> is too old,
it cannot compile recent databases.</para>
</listitem>
</varlistentry>
-->
</variablelist> </variablelist>
<para>Compile the package:</para> <para>Compile the package:</para>

View File

@ -107,7 +107,7 @@ strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
</sect2> </sect2>
<sect2> <sect2>
<title>Backup / Restore</title> <title>Backup</title>
<para> <para>
Now that the essential tools have been created, its time to think about Now that the essential tools have been created, its time to think about
@ -141,6 +141,10 @@ tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen>
do not want to have the backup stored in <systemitem do not want to have the backup stored in <systemitem
class="username">root</systemitem>'s home directory. class="username">root</systemitem>'s home directory.
</para> </para>
</sect2>
<sect2>
<title>Restore</title>
<para> <para>
In case some mistakes have been made and you need to start over, you can In case some mistakes have been made and you need to start over, you can
@ -152,13 +156,16 @@ tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen>
restore the backup by executing the following commands: restore the backup by executing the following commands:
</para> </para>
<screen role="nodump" revision="sysv"><userinput>cd $LFS &amp;&amp; <!-- Make the following look different so users don't blindly run the
rm -rf ./* &amp;&amp; restore when they don't need to. -->
tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz</userinput></screen>
<screen role="nodump" revision="systemd"><userinput>cd $LFS &amp;&amp; <screen role="nodump" revision="sysv"><computeroutput>cd $LFS &amp;&amp;
rm -rf ./* &amp;&amp; rm -rf ./* &amp;&amp;
tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz</userinput></screen> tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz</computeroutput></screen>
<screen role="nodump" revision="systemd"><computeroutput>cd $LFS &amp;&amp;
rm -rf ./* &amp;&amp;
tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz</computeroutput></screen>
<para> <para>
Again, double check that the environment has been setup properly Again, double check that the environment has been setup properly

View File

@ -53,26 +53,12 @@
<screen><userinput remap="make">make</userinput></screen> <screen><userinput remap="make">make</userinput></screen>
<!--<para>There are a couple of tests that incorrectly link to the
wrong version of the flex library, so we temporarily work around
the problem. Also, using the -j4 make option speeds up the tests, even on
systems with only one processor, due to internal delays in individual
tests. To test the results, issue:</para>
-->
<para> Using the -j4 make option speeds up the tests, even on systems with <para> Using the -j4 make option speeds up the tests, even on systems with
only one processor, due to internal delays in individual tests. To test only one processor, due to internal delays in individual tests. To test
the results, issue:</para> the results, issue:</para>
<!--<screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
make -j4 check</userinput></screen>-->
<screen><userinput remap="test">make -j4 check</userinput></screen> <screen><userinput remap="test">make -j4 check</userinput></screen>
<para>One test is known to fail in the LFS environment:
tags-lisp-space.sh.</para>
<para>Install the package:</para> <para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen> <screen><userinput remap="install">make install</userinput></screen>

View File

@ -39,38 +39,19 @@
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of Bison</title> <title>Installation of Bison</title>
<!--
<para>First, fix a build problem with the current version:</para>
<screen><userinput remap="pre">sed -i '9327 s/mv/cp/' Makefile.in</userinput></screen>
-->
<para>Prepare Bison for compilation:</para> <para>Prepare Bison for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/bison-&bison-version;</userinput></screen> <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/bison-&bison-version;</userinput></screen>
<!-- I could not find a race condidtion in the current version.
<para>Compile the package, but work around a race condition in the
current version:</para>
<screen><userinput remap="make">make -j1</userinput></screen>-->
<para>Compile the package:</para> <para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen> <screen><userinput remap="make">make</userinput></screen>
<para>To test the results (about 5.5 SBU), issue:</para> <para>The tests are known to fail using multiple processors.
To test the results (about 5.5 SBU), issue:</para>
<screen><userinput remap="test">make check</userinput></screen> <screen><userinput remap="test">make -j1 check</userinput></screen>
<para>Fourteen tests fail in the "Diagnostics" section, probably because of
missing locales.</para>
<!--
<para>There is a circular dependency between bison and flex with regard to
the checks. If desired, after installing flex in the next section, the
bison package can be rebuilt and the bison checks can be run with
<command>make check</command>.</para>
-->
<para>Install the package:</para> <para>Install the package:</para>

View File

@ -67,8 +67,7 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s
for user mailboxes that Shadow uses by default to the <filename for user mailboxes that Shadow uses by default to the <filename
class="directory">/var/mail</filename> location used currently:</para> class="directory">/var/mail</filename> location used currently:</para>
<screen><userinput remap="pre"> <screen><userinput remap="pre">sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \
sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \
-e 's:/var/spool/mail:/var/mail:' \ -e 's:/var/spool/mail:/var/mail:' \
-i etc/login.defs</userinput></screen> -i etc/login.defs</userinput></screen>