Ignore:
Timestamp:
09/07/2021 08:40:16 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:
2967da32
Parents:
2c8fdfc (diff), 8e6babe (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/cleanup.xml

    r2c8fdfc rc6f58f47  
    2121    <para>Second, the libtool .la files are only useful when linking with static
    2222    libraries. They are unneeded and potentially harmful when using dynamic
    23     shared libraries, specially when using non-autotools build systems.
     23    shared libraries, especially when using non-autotools build systems.
    2424    While still in chroot, remove those files now:</para>
    2525
     
    3737  <sect2>
    3838    <title>Backup</title>
     39
     40    <para>
     41      At this point the essential programs and libraries have been created
     42      and your current LFS system is in a good state. Your system can now be
     43      backed up for later reuse. In case of fatal failures in the subsequent
     44      chapters, it often turns out that removing everything and starting over
     45      (more carefully) is the best option to recover. Unfortunately, all the
     46      temporary files will be removed, too. To avoid spending extra time to
     47      redo something which has been built successfully, creating a backup of
     48      the current LFS system may prove useful.
     49    </para>
    3950
    4051    <note><para>
     
    5768    </para>
    5869
     70    <para>
     71       If you have decided to make a backup, leave the chroot environment:
     72    </para>
     73
     74<screen role="nodump"><userinput>exit</userinput></screen>
     75
    5976    <important>
    60       <para>All of the following instructions are executed by
    61         <systemitem class="username">root</systemitem>. Take extra
    62         care about the commands you're going to run as mistakes
     77      <para>
     78        All of the following instructions are executed by
     79        <systemitem class="username">root</systemitem> on your host system.
     80        Take extra care about the commands you're going to run as mistakes
    6381        here can modify your host system. Be aware that the
    6482        environment variable <envar>LFS</envar>
    6583        is set for user <systemitem class="username">lfs</systemitem> by default
    6684        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>,
     85        <systemitem class="username">root</systemitem>.
     86     </para>
     87     <para>
     88        Whenever commands are to be executed by <systemitem class="username">root</systemitem>,
    6989        make sure you have set <envar>LFS</envar>.
     90     </para>
     91     <para>
    7092        This has been discussed in <xref linkend='ch-partitioning-aboutlfs'/>.
    7193      </para>
    7294    </important>
    7395
    74     <para>
    75        Now, if you are making a backup, leave the chroot environment:
    76     </para>
    77 
    78 <screen role="nodump"><userinput>exit</userinput></screen>
    79 
    80     <para>
    81       At this point the essential programs and libraries have been created
    82       and your current system is in a good state. Your system can now be
    83       backed up for later reuse. In case of fatal failures in the subsequent
    84       chapters, it often turns out that removing everything and starting over
    85       (more carefully) is the best option to recover. Unfortunately, all the
    86       temporary files will be removed, too. To avoid spending extra time to
    87       redo something which has been built successfully, prepare a backup.
    88     </para>
    89 
    90     <para>
     96    <para>Before making a backup, unmount the virtual file systems:</para>
     97
     98<screen role="nodump"><userinput>umount $LFS/dev/pts
     99umount $LFS/{sys,proc,run,dev}</userinput></screen>
     100
     101    <para>
     102      Make sure you have at least 1 GB free disk space (the source tarballs
     103      will be included in the backup archive) on the filesystem containing
     104      directory where you create the backup archive.
     105    </para>
     106
     107    <para>
     108<<<<<<< HEAD
    91109      Make sure you have at least 1 GB free disk space (the source tarballs
    92110      will be included in the backup archive) in the home directory of user
    93111      <systemitem class="username">root</systemitem>.
    94     </para>
    95 
    96     <para>Before we make a backup, unmount the virtual file systems:</para>
    97 
    98 <screen role="nodump"><userinput>umount $LFS/dev{/pts,}
    99 umount $LFS/{sys,proc,run}</userinput></screen>
     112=======
     113      Note that the instructions below specify the home directory of the host
     114      system's <systemitem class="username">root</systemitem> user, which is
     115      typically found on the root filesystem.
     116>>>>>>> 8e6babecd0d75542a01eedfde32556879733f842
     117    </para>
     118
     119    <para>
     120      Replace <envar>$HOME</envar> by a directory of your choice if you
     121      do not want to have the backup stored in <systemitem
     122      class="username">root</systemitem>'s home directory.
     123    </para>
    100124
    101125    <para>
     
    108132          long time (over 10 minutes) even on a resonably fast system.
    109133       </para>
     134<<<<<<< HEAD
    110135
    111136       <para>
     
    113138          for the root user.
    114139       </para>
     140=======
     141>>>>>>> 8e6babecd0d75542a01eedfde32556879733f842
    115142    </note>
    116143
     
    121148tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen>
    122149
     150<<<<<<< HEAD
    123151    <para>
    124152      Replace <envar>$HOME</envar> by a directory of your choice if you
     
    126154      class="username">root</systemitem>'s home directory.
    127155    </para>
     156=======
     157>>>>>>> 8e6babecd0d75542a01eedfde32556879733f842
    128158  </sect2>
    129159
Note: See TracChangeset for help on using the changeset viewer.