Changeset efcb393 for chapter04


Ignore:
Timestamp:
05/03/2020 09:02:51 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a715dec
Parents:
9d719e2
Message:

Make the new book

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter04
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • chapter04/abouttestsuites.xml

    r9d719e2 refcb393  
    2626
    2727  <note>
    28     <para>Experience has shown that there is little to be gained from running
    29     the test suites in <xref linkend="chapter-temporary-tools"/>. There can be
    30     no escaping the fact that the host system always exerts some influence on
    31     the tests in that chapter, often causing inexplicable failures. Because
    32     the tools built in <xref linkend="chapter-temporary-tools"/> are temporary
    33     and eventually discarded, we do not recommend running the test suites in
    34     <xref linkend="chapter-temporary-tools"/> for the average reader. The
    35     instructions for running those test suites are provided for the benefit of
    36     testers and developers, but they are strictly optional.</para>
     28    <para>Running the test suites in <xref linkend="chapter-temporary-tools"/>
     29    is impossible, since the programs are compiled with a cross-compiler,
     30    so are not supposed to be able to run on the build host.</para>
    3731  </note>
    3832
  • chapter04/addinguser.xml

    r9d719e2 refcb393  
    7878
    7979  <para>Grant <systemitem class="username">lfs</systemitem> full access to
    80   <filename class="directory">$LFS/tools</filename> by making
     80  all directories under <filename class="directory">$LFS</filename> by making
    8181  <systemitem class="username">lfs</systemitem> the directory owner:</para>
    8282
    83 <screen><userinput>chown -v lfs $LFS/tools</userinput></screen>
     83<screen><userinput>chown -v lfs $LFS/{usr,lib,var,etc,bin,sbin,lib64,tools}</userinput></screen>
    8484
    8585  <para>If a separate working directory was created as suggested, give
  • chapter04/chapter04.xml

    r9d719e2 refcb393  
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="introduction.xml"/>
    1515  <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutlfs.xml"/>-->
    16   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingtoolsdir.xml"/>
     16  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingminlayout.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="addinguser.xml"/>
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="settingenviron.xml"/>
  • chapter04/introduction.xml

    r9d719e2 refcb393  
    1212
    1313  <para>In this chapter, we will perform a few additional tasks to prepare
    14   for building the temporary system. We will create a directory in
     14  for building the temporary system. We will create a set of directories in
    1515  <filename class="directory">$LFS</filename> for the installation of the
    1616  temporary tools, add an unprivileged user to reduce risk,
  • chapter04/settingenviron.xml

    r9d719e2 refcb393  
    4444LC_ALL=POSIX
    4545LFS_TGT=$(uname -m)-lfs-linux-gnu
    46 PATH=/tools/bin:/bin:/usr/bin
     46PATH=$LFS/tools/bin:/bin:/usr/bin
    4747export LFS LC_ALL LFS_TGT PATH</literal>
    4848EOF</userinput></screen>
     
    6262  the shell will always search the <envar>PATH</envar> when a program is to
    6363  be run. As such, the shell will find the newly compiled tools in
    64   <filename class="directory">$LFS/tools</filename> as soon as they are
     64  <filename class="directory">~/tools</filename> as soon as they are
    6565  available without remembering a previous version of the same program in a
    6666  different location.</para>
     
    109109
    110110    <varlistentry>
    111       <term><parameter>PATH=/tools/bin:/bin:/usr/bin</parameter></term>
     111      <term><parameter>PATH=$LFS/tools/bin:/bin:/usr/bin</parameter></term>
    112112      <listitem>
    113   <para>By putting <filename class="directory">/tools/bin</filename> ahead of the
     113  <para>By putting <filename class="directory">$LFS/tools/bin</filename> ahead of the
    114114  standard <envar>PATH</envar>, all the programs installed in <xref
    115115  linkend="chapter-temporary-tools"/> are picked up by the shell immediately after
Note: See TracChangeset for help on using the changeset viewer.