Ignore:
Timestamp:
02/06/2022 04:45:15 AM (2 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
2195c1e
Parents:
3e09569 (diff), d759d8b (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:

Automatic merge of trunk into multilib

File:
1 moved

Legend:

Unmodified
Added
Removed
  • chapter08/cleanup.xml

    r3e09569 r2590473  
    66]>
    77
    8 <sect1 id="ch-system-revisedchroot">
    9   <?dbhtml filename="revisedchroot.html"?>
     8<sect1 id="ch-system-cleanup">
     9  <?dbhtml filename="cleanup.html"?>
    1010
    1111  <title>Cleaning Up</title>
     
    1414
    1515<screen><userinput>rm -rf /tmp/*</userinput></screen>
    16 
    17   <para>Now log out and reenter the chroot environment with an updated
    18   chroot command.  From now on, use this updated chroot command any time
    19   you need to reenter the chroot environment after exiting:</para>
    20 
    21 <screen role="nodump"><userinput>logout
    22 
    23 chroot "$LFS" /usr/bin/env -i          \
    24     HOME=/root TERM="$TERM"            \
    25     PS1='(lfs chroot) \u:\w\$ '        \
    26     PATH=/usr/bin:/usr/sbin            \
    27     /usr/bin/bash --login</userinput></screen>
    28 
    29   <para>Here the <parameter>+h</parameter> option is not used anymore, since
    30   all the previous programs have been replaced: hashing is therefore
    31   possible.</para>
    32 
    33   <para>If the virtual kernel file systems have been unmounted, either manually
    34   or through a reboot, ensure that the virtual kernel file systems are mounted
    35   when reentering the chroot. This process was explained in <xref
    36   linkend="ch-tools-bindmount"/> and <xref
    37   linkend="ch-tools-kernfsmount"/>.</para>
    3816
    3917  <para>There are also several files installed in the /usr/lib and /usr/libexec
Note: See TracChangeset for help on using the changeset viewer.