Changeset 6b369e9 for BOOK/final-preps


Ignore:
Timestamp:
Feb 21, 2006, 1:36:57 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
d0321161
Parents:
351f3e1f
Message:

r856@server (orig r854): jim | 2005-12-06 15:34:00 -0800

r984@server: jim | 2005-12-06 15:32:19 -0800
Move cross-tools . This will provide a way plan for livecd builds to recover from builds that go wrong.


Location:
BOOK/final-preps
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-preps/addinguser.xml

    r351f3e1f r6b369e9  
    7979
    8080  <para>Grant <systemitem class="username">lfs</systemitem> full access to
    81   <filename class="directory">$LFS</filename> and <filename
    82   class="directory">$LFS/tools</filename> by making <systemitem
     81  <filename class="directory">$LFS</filename>,
     82  <filename class="directory">$LFS/cross-tools</filename>,
     83  and <filename class="directory">$LFS/tools</filename> by making <systemitem
    8384  class="username">lfs</systemitem> the directories owner:</para>
    8485
    8586<screen><userinput>chown lfs $LFS
    86 chown lfs $LFS/tools</userinput></screen>
     87chown lfs $LFS/tools
     88chown lfs $LFS/cross-tools</userinput></screen>
    8789
    8890  <para>If a separate working directory was created as suggested, we will
  • BOOK/final-preps/creatingcrossdir.xml

    r351f3e1f r6b369e9  
    99  <?dbhtml filename="creatingcrossdir.html"?>
    1010
    11   <title>Creating the $HOME/cross-tools Directory</title>
     11  <title>Creating the $LFS/cross-tools Directory</title>
    1212
    1313  <para>All programs compiled in <xref linkend="chapter-cross-tools"/> will
    14   be installed under <filename class="directory">$HOME/cross-tools</filename>
     14  be installed under <filename class="directory">$LFS/cross-tools</filename>
    1515  to keep them separate from the host programs. The programs compiled here are
    1616  cross tools and will not be a part of the final LFS system. By keeping these
     
    2121  the <systemitem class="username">lfs</systemitem> user:</para>
    2222
    23 <screen><userinput>install -d $HOME/cross-tools</userinput></screen>
     23<screen><userinput>install -d $LFS/cross-tools</userinput></screen>
    2424
    2525  <para>The next step is to create a <filename
     
    3030  <systemitem class="username">root</systemitem>:</para>
    3131
    32 <screen><userinput>exit
    33 LFSHOME=`echo ~lfs`
    34 ln -s $LFSHOME/cross-tools /
    35 unset LFSHOME
    36 su - lfs</userinput></screen>
     32<screen><userinput>ln -s $LFS/cross-tools /</userinput></screen>
    3733
    38   <para>TO BE REWRITTEN - The created symlink enables the toolchain to be
    39   compiled so that
     34  <para>The created symlink enables the toolchain to be compiled so that
    4035  it always refers to <filename class="directory">/cross-tools</filename>,
    41   meaning that the compiler, assembler, and linker will work both in
    42   this chapter and this host architecture and in the next (when we are
    43   <quote>chrooted</quote> to the LFS partition).</para>
     36  meaning that the compiler, assembler, and linker will be avaialble for
     37  use later if some unforseen circumstances happen.</para>
    4438
    4539</sect1>
  • BOOK/final-preps/creatingtoolsdir.xml

    r351f3e1f r6b369e9  
    4040  </note>
    4141
    42   <para>TO BE REWRiTTEN - The created symlink enables the toolchain to be
    43   compiled so that
     42  <para>The created symlink enables the toolchain to be compiled so that
    4443  it always refers to <filename class="directory">/tools</filename>,
    45   meaning that the compiler, assembler, and linker will work both in
    46   this chapter (when we are still using some tools from the host) and in
    47   the next (when we are <quote>chrooted</quote> to the LFS
    48   partition).</para>
     44  meaning that the compiler, assembler, and linker will work. This will
     45  provide a common place for our temporary tools system.</para>
    4946
    5047</sect1>
Note: See TracChangeset for help on using the changeset viewer.