Author: bdubbs
Date: Sun Jun 21 18:21:48 2020
New Revision: 11972

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

Modified:
   trunk/BOOK/chapter04/settingenviron.xml
   trunk/BOOK/stylesheets/lfs-xsl/lfs.css

Modified: trunk/BOOK/chapter04/settingenviron.xml
==============================================================================
--- trunk/BOOK/chapter04/settingenviron.xml     Sun Jun 21 09:12:37 2020        
(r11971)
+++ trunk/BOOK/chapter04/settingenviron.xml     Sun Jun 21 18:21:48 2020        
(r11972)
@@ -153,6 +153,23 @@
 
   </variablelist>
 
+  <important>
+
+     <para>Several commercial distributions add a non-documented instantiation
+     of <filename>/etc/bash.bashrc</filename> to the initialization of
+     <command>bash</command>. This file has the potential to modify the lfs
+     user's envirnment in ways that can affect the building of critical LFS
+     packages. To make sure the lfs user's envronment is clean, check for the
+     presence of <filename>/etc/bash.bashrc</filename> and, if present, move it
+     out of the way.  As the root user, run:</para>
+
+     <screen role="nodump"><userinput>mv -v /etc/bash.bashrc 
/etc/bash.bashrc.NOUSE</userinput></screen> 
+
+     <para>After use of the lfs user is finished at the end of <xref
+     linkend="chapter-chroot-temporary-tools"/>, you can restore
+     <filename>/etc/bash.bashrc</filename> (if desired).</para>
+  </important>
+
   <para>Finally, to have the environment fully prepared for building the
   temporary tools, source the just-created user profile:</para>
 

Modified: trunk/BOOK/stylesheets/lfs-xsl/lfs.css
==============================================================================
--- trunk/BOOK/stylesheets/lfs-xsl/lfs.css      Sun Jun 21 09:12:37 2020        
(r11971)
+++ trunk/BOOK/stylesheets/lfs-xsl/lfs.css      Sun Jun 21 18:21:48 2020        
(r11972)
@@ -444,11 +444,16 @@
   width: 12em;
 }
 
-.package .segbody, .appendix .segbody {
+.package .segbody {
   display: block;
   padding-left: 14em;
 }
 
+.appendix .segbody{
+  display: block;
+  padding-left: 16em;
+}
+
 .content .segbody {
   display: block;
   padding-left: 13em;
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to