aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02/aboutlfs.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2018-01-26 20:37:11 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2018-01-26 20:37:11 +0000
commit54b3fb5e8c05dbbdddd683ad0af9b03bfb9f2f38 (patch)
tree6380e507540cd71147f64941a24b74878627ac20 /chapter02/aboutlfs.xml
parent89970f9a7c1da12d1e823170f73577fbf4d72fe7 (diff)
Add warnings about mounting /mnt/lfs and
the export of $LFS if restarting the host system. Add comments to automate those actions. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11353 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter02/aboutlfs.xml')
-rw-r--r--chapter02/aboutlfs.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml
index 7193794da..93f885e22 100644
--- a/chapter02/aboutlfs.xml
+++ b/chapter02/aboutlfs.xml
@@ -51,6 +51,17 @@
<filename>/etc/passwd</filename> file for all users that need the
<envar>LFS</envar> variable needs to be bash to ensure that the
<filename>/root/.bash_profile</filename> file is incorporated as a part of
- the login process.</para></note>
+ the login process.</para>
+
+ <para>Another consideration is the method that is used to log into the
+ host system. If logging in through a graphical display manager, the
+ user's <filename>.bash_profile</filename> is not normally used when
+ a virtual terminal is started. In this case, add the export command to
+ the <filename>.bashrc</filename> file for the user and root. In addition,
+ some distributions have instructions to not run the <filename>.bashrc</filename>
+ instructions in a non-interactive bash invocation. Be sure to add the
+ export command before the test for non-interactive use.</para>
+
+ </note>
</sect1>