Ignore:
Timestamp:
03/31/2021 10:41:39 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
7610848
Parents:
811b5a39
git-author:
Thomas Trepl <thomas@…> (06/29/2020 07:55:01 AM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
Message:

Update to new lfs structure

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • chapter08/revisedchroot.xml

    r811b5a39 r6dfcfecc  
    2727    /bin/bash --login</userinput></screen>
    2828
    29   <para>The reason for this is that the programs in <filename
    30   class="directory">/tools</filename> are no longer needed.  For this reason
    31   you can delete the <filename class="directory">/tools</filename>
    32   directory if so desired.</para>
    33 
    34   <note>
    35     <para>Removing <filename class="directory">/tools</filename> will also
    36     remove the temporary copies of Tcl, Expect, and DejaGNU which were used
    37     for running the toolchain tests. If you need these programs later on,
    38     they will need to be recompiled and re-installed. The BLFS book has
    39     instructions for this (see <ulink url="&blfs-root;"/>).</para>
    40   </note>
     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>
    4132
    4233  <para>If the virtual kernel file systems have been unmounted, either manually
    4334  or through a reboot, ensure that the virtual kernel file systems are mounted
    4435  when reentering the chroot. This process was explained in <xref
    45   linkend="ch-system-bindmount"/> and <xref
    46   linkend="ch-system-kernfsmount"/>.</para>
     36  linkend="ch-tools-bindmount"/> and <xref
     37  linkend="ch-tools-kernfsmount"/>.</para>
    4738
    4839  <para>There were several static libraries that were not suppressed earlier
     
    5748rm -f /usr/lib/libltdl.a
    5849rm -f /usr/lib/libfl.a
    59 rm -f /usr/lib/libz.a</userinput></screen>
     50rm -f /usr/lib/libz.a</userinput><userinput arch="ml_32,ml_all">
     51rm -f &usr-lib-m32;/libbz2.a
     52rm -f &usr-lib-m32;/libltdl.a
     53rm -f &usr-lib-m32;/libz.a</userinput><userinput arch="ml_x32,ml_all">
     54rm -f &usr-lib-mx32;/libbz2.a
     55rm -f &usr-lib-mx32;/libltdl.a
     56rm -f &usr-lib-mx32;/libz.a</userinput></screen>
    6057
    6158  <para>There are also several files installed in the /usr/lib and /usr/libexec
     
    6663  To remove them, run:</para>
    6764
    68   <screen arch="default"><userinput>find /usr/lib /usr/libexec -name \*.la -delete</userinput></screen>
    69  <screen arch="ml_32"><userinput>find /usr/lib{,32} /usr/libexec -name \*.la -delete</userinput></screen>
    70 <screen arch="ml_x32"><userinput>find /usr/lib{,x32} /usr/libexec -name \*.la -delete</userinput></screen>
    71  <screen arch="ml_all"><userinput>find /usr/lib{,{,x}32} /usr/libexec -name \*.la -delete</userinput></screen>
     65<screen><userinput>find /usr/lib /usr/libexec -name \*.la -delete</userinput><userinput arch="ml_32,ml_all">
     66find &usr-lib-m32; -name \*.la -delete</userinput><userinput arch="ml_x32,ml_all">
     67find &usr-lib-mx32; -name \*.la -delete</userinput></screen>
    7268
    7369   <para>For more information about libtool archive files, see the <ulink
     
    7571   Archive (.la) files"</ulink>.</para>
    7672
    77    <para>Finally, remove the temporary 'tester' usr account created at the
    78    beginning of this chapter.</para>
     73   <para>Finally, remove the temporary 'tester' user account created at the
     74   beginning of the previous chapter.</para>
    7975
    80 <screen><userinput>sed -i '/tester/d' /etc/passwd /etc/group
    81 rm -rf /home/tester</userinput></screen>
     76<screen><userinput>userdel -r tester</userinput></screen>
    8277</sect1>
Note: See TracChangeset for help on using the changeset viewer.