mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Minor updates.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11939 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a4053b5ba2
commit
3d92d63bde
@ -105,14 +105,6 @@ popd</userinput></screen>
|
||||
</listitem>
|
||||
</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>
|
||||
<term><parameter>--without-normal</parameter></term>
|
||||
<listitem>
|
||||
@ -120,16 +112,7 @@ popd</userinput></screen>
|
||||
</para>
|
||||
</listitem>
|
||||
</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>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
@ -107,7 +107,7 @@ strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Backup / Restore</title>
|
||||
<title>Backup</title>
|
||||
|
||||
<para>
|
||||
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
|
||||
class="username">root</systemitem>'s home directory.
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Restore</title>
|
||||
|
||||
<para>
|
||||
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:
|
||||
</para>
|
||||
|
||||
<screen role="nodump" revision="sysv"><userinput>cd $LFS &&
|
||||
rm -rf ./* &&
|
||||
tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz</userinput></screen>
|
||||
<!-- Make the following look different so users don't blindly run the
|
||||
restore when they don't need to. -->
|
||||
|
||||
<screen role="nodump" revision="systemd"><userinput>cd $LFS &&
|
||||
<screen role="nodump" revision="sysv"><computeroutput>cd $LFS &&
|
||||
rm -rf ./* &&
|
||||
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 &&
|
||||
rm -rf ./* &&
|
||||
tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz</computeroutput></screen>
|
||||
|
||||
<para>
|
||||
Again, double check that the environment has been setup properly
|
||||
|
@ -53,26 +53,12 @@
|
||||
|
||||
<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
|
||||
only one processor, due to internal delays in individual tests. To test
|
||||
the results, issue:</para>
|
||||
|
||||
<!--<screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh
|
||||
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>
|
||||
|
||||
<screen><userinput remap="install">make install</userinput></screen>
|
||||
|
@ -39,38 +39,19 @@
|
||||
|
||||
<sect2 role="installation">
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
-->
|
||||
<screen><userinput remap="test">make -j1 check</userinput></screen>
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
||||
|
@ -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
|
||||
class="directory">/var/mail</filename> location used currently:</para>
|
||||
|
||||
<screen><userinput remap="pre">
|
||||
sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \
|
||||
<screen><userinput remap="pre">sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \
|
||||
-e 's:/var/spool/mail:/var/mail:' \
|
||||
-i etc/login.defs</userinput></screen>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user