From 686c88ba6bf04a48da4203743259ea4a5f1bff26 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 22 Jun 2020 01:21:48 +0000 Subject: 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 --- chapter04/settingenviron.xml | 17 +++++++++++++++++ stylesheets/lfs-xsl/lfs.css | 7 ++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml index 747b90b80..3b18d42da 100644 --- a/chapter04/settingenviron.xml +++ b/chapter04/settingenviron.xml @@ -153,6 +153,23 @@ EOF + + + Several commercial distributions add a non-documented instantiation + of /etc/bash.bashrc to the initialization of + bash. 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 /etc/bash.bashrc and, if present, move it + out of the way. As the root user, run: + + mv -v /etc/bash.bashrc /etc/bash.bashrc.NOUSE + + After use of the lfs user is finished at the end of , you can restore + /etc/bash.bashrc (if desired). + + Finally, to have the environment fully prepared for building the temporary tools, source the just-created user profile: diff --git a/stylesheets/lfs-xsl/lfs.css b/stylesheets/lfs-xsl/lfs.css index 3608c157c..63a118c1b 100644 --- a/stylesheets/lfs-xsl/lfs.css +++ b/stylesheets/lfs-xsl/lfs.css @@ -444,11 +444,16 @@ div.materials dd { 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; -- cgit v1.2.3-54-g00ecf