Ignore:
Timestamp:
09/07/2021 08:35:55 PM (3 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
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, 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:
c6f58f47
Parents:
d672ab7
Message:

Remove spaces at end o lines - chapter07

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/cleanup.xml

    rd672ab7 r2c8fdfc  
    1010
    1111  <title>Cleaning up and Saving the Temporary System</title>
    12  
     12
    1313  <sect2>
    1414    <title>Cleaning</title>
     
    2727
    2828    <para>
    29       The current system size is now about 3 GB, however 
     29      The current system size is now about 3 GB, however
    3030      the /tools directory is no longer needed. It uses about
    3131      1 GB of disk space.  Delete it now:
     
    4343      linkend="chapter-building-system"/>, the temporary files will be
    4444      overwritten. So it may be a good idea to do a backup of the current
    45       system as described below. 
     45      system as described below.
    4646    </para></note>
    47  
     47
    4848    <para>
    4949      The following steps are performed from outside the chroot
     
    6262        care about the commands you're going to run as mistakes
    6363        here can modify your host system. Be aware that the
    64         environment variable <envar>LFS</envar> 
    65         is set for user <systemitem class="username">lfs</systemitem> by default 
    66         but may <emphasis>not</emphasis> be set for 
    67         <systemitem class="username">root</systemitem>. Whenever 
    68         commands are to be executed by <systemitem class="username">root</systemitem>, 
     64        environment variable <envar>LFS</envar>
     65        is set for user <systemitem class="username">lfs</systemitem> by default
     66        but may <emphasis>not</emphasis> be set for
     67        <systemitem class="username">root</systemitem>. Whenever
     68        commands are to be executed by <systemitem class="username">root</systemitem>,
    6969        make sure you have set <envar>LFS</envar>.
    7070        This has been discussed in <xref linkend='ch-partitioning-aboutlfs'/>.
     
    9090    <para>
    9191      Make sure you have at least 1 GB free disk space (the source tarballs
    92       will be included in the backup archive) in the home directory of user 
     92      will be included in the backup archive) in the home directory of user
    9393      <systemitem class="username">root</systemitem>.
    9494    </para>
     
    108108          long time (over 10 minutes) even on a resonably fast system.
    109109       </para>
    110        
     110
    111111       <para>
    112           Also, ensure the <envar>LFS</envar> environment variable is set 
     112          Also, ensure the <envar>LFS</envar> environment variable is set
    113113          for the root user.
    114114       </para>
    115115    </note>
    116116
    117 <screen role="nodump" revision="sysv"><userinput>cd $LFS 
     117<screen role="nodump" revision="sysv"><userinput>cd $LFS
    118118tar -cJpf $HOME/lfs-temp-tools-&version;.tar.xz .</userinput></screen>
    119119
    120 <screen role="nodump" revision="systemd"><userinput>cd $LFS 
     120<screen role="nodump" revision="systemd"><userinput>cd $LFS
    121121tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen>
    122122
    123123    <para>
    124124      Replace <envar>$HOME</envar> by a directory of your choice if you
    125       do not want to have the backup stored in <systemitem 
     125      do not want to have the backup stored in <systemitem
    126126      class="username">root</systemitem>'s home directory.
    127127    </para>
     
    134134      In case some mistakes have been made and you need to start over, you can
    135135      use this backup to restore the system and save some recovery time.
    136       Since the sources are located under 
     136      Since the sources are located under
    137137      <filename class="directory">$LFS</filename>, they are included in the
    138138      backup archive as well, so they do not need to be downloaded again. After
     
    145145
    146146    <warning><para>The following commands are extremly dangerous.  If
    147     you run <command>rm -rf ./*</command> as the root user and you 
    148     do not change to the $LFS directory or the <envar>LFS</envar> 
    149     environment variable is not set for the root user, it will destroy 
     147    you run <command>rm -rf ./*</command> as the root user and you
     148    do not change to the $LFS directory or the <envar>LFS</envar>
     149    environment variable is not set for the root user, it will destroy
    150150    your entire host system.  YOU ARE WARNED.</para></warning>
    151151
    152 <screen role="nodump" revision="sysv"><computeroutput>cd $LFS 
    153 rm -rf ./* 
     152<screen role="nodump" revision="sysv"><computeroutput>cd $LFS
     153rm -rf ./*
    154154tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz</computeroutput></screen>
    155155
    156 <screen role="nodump" revision="systemd"><computeroutput>cd $LFS 
    157 rm -rf ./* 
     156<screen role="nodump" revision="systemd"><computeroutput>cd $LFS
     157rm -rf ./*
    158158tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz</computeroutput></screen>
    159159
     
    173173       </para>
    174174    </important>
    175    
     175
    176176  </sect2>
    177177
Note: See TracChangeset for help on using the changeset viewer.