Changeset 658dcab


Ignore:
Timestamp:
05/07/2018 03:45:11 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 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, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, 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:
e412703
Parents:
9de8016
Message:

Change stripping in Chapter 6 to not require logout.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11408 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r9de8016 r658dcab  
    4545
    4646    <listitem>
     47      <para>2018-05-07</para>
     48      <itemizedlist>
     49        <listitem>
     50           <para>[bdubbs] - Change stripping in Chapter 6 to not
     51           require logout.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
    4757      <para>2018-05-05</para>
    4858      <itemizedlist>
  • chapter06/revisedchroot.xml

    r9de8016 r658dcab  
    1515<screen><userinput>rm -rf /tmp/*</userinput></screen>
    1616
    17   <para>From now on, when reentering the chroot environment after
    18   exiting, use the following modified chroot command:</para>
     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>
    1920
    20 <screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i          \
     21<screen role="nodump"><userinput>logout
     22
     23chroot "$LFS" /usr/bin/env -i          \
    2124    HOME=/root TERM="$TERM"            \
    2225    PS1='(lfs chroot) \u:\w\$ '        \
     
    2528
    2629  <para>The reason for this is that the programs in <filename
    27   class="directory">/tools</filename> are no longer needed.  Since they are no
    28   longer needed you can delete the <filename class="directory">/tools</filename>
     30  class="directory">/tools</filename> are no longer needed.  For this reason
     31  you can delete the <filename class="directory">/tools</filename>
    2932  directory if so desired.</para>
    3033
     
    5356rm -f /usr/lib/libltdl.a
    5457rm -f /usr/lib/libfl.a
    55 rm -f /usr/lib/libfl_pic.a
    5658rm -f /usr/lib/libz.a</userinput></screen>
    5759
  • chapter06/strippingagain.xml

    r9de8016 r658dcab  
    5959
    6060  <para>Before performing the stripping, take special care to ensure that
    61   none of the binaries that are about to be stripped are running. If
     61  none of the binaries that are about to be stripped are running:</para>
     62
     63<screen role="nodump"><userinput>exec /tools/bin/bash</userinput></screen>
     64 
     65  <!--
     66  If
    6267  unsure whether the user entered chroot with the command given in
    63   <xref linkend="ch-system-chroot" role=","/> first exit from
     68  <xref linkend="ch-system-chroot" role=","/> first use the version
     69  of bash we created in
    6470  chroot:</para>
    6571
     
    7278    PS1='(lfs chroot) \u:\w\$ '        \
    7379    PATH=/bin:/usr/bin:/sbin:/usr/sbin \
    74     /tools/bin/bash --login</userinput></screen>
     80    /tools/bin/bash - -login</userinput></screen>-->
    7581
    7682  <para>Now the binaries and libraries can be safely stripped:</para>
  • general.ent

    r9de8016 r658dcab  
    1 <!ENTITY version         "SVN-20180505">
     1<!ENTITY version         "SVN-20180507">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20180505-systemd">
     6<!ENTITY versiond        "20180507-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "May 5, 2018">
     10<!ENTITY releasedate     "May 7, 2018">
    1111
    1212<!ENTITY copyrightdate   "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.