Ignore:
Timestamp:
06/22/2020 01:21:48 AM (4 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, 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:
3a38c46
Parents:
30223048
Message:

Add a note about /etc/bash.bashrc used in some distros.
Tweak css for appendix/dependencies.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter04/settingenviron.xml

    r30223048 r686c88b  
    154154  </variablelist>
    155155
     156  <important>
     157
     158     <para>Several commercial distributions add a non-documented instantiation
     159     of <filename>/etc/bash.bashrc</filename> to the initialization of
     160     <command>bash</command>. This file has the potential to modify the lfs
     161     user's envirnment in ways that can affect the building of critical LFS
     162     packages. To make sure the lfs user's envronment is clean, check for the
     163     presence of <filename>/etc/bash.bashrc</filename> and, if present, move it
     164     out of the way.  As the root user, run:</para>
     165
     166     <screen role="nodump"><userinput>mv -v /etc/bash.bashrc /etc/bash.bashrc.NOUSE</userinput></screen>
     167
     168     <para>After use of the lfs user is finished at the end of <xref
     169     linkend="chapter-chroot-temporary-tools"/>, you can restore
     170     <filename>/etc/bash.bashrc</filename> (if desired).</para>
     171  </important>
     172
    156173  <para>Finally, to have the environment fully prepared for building the
    157174  temporary tools, source the just-created user profile:</para>
Note: See TracChangeset for help on using the changeset viewer.