From 54b3fb5e8c05dbbdddd683ad0af9b03bfb9f2f38 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 26 Jan 2018 20:37:11 +0000 Subject: 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 --- chapter02/aboutlfs.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'chapter02/aboutlfs.xml') 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 @@ /etc/passwd file for all users that need the LFS variable needs to be bash to ensure that the /root/.bash_profile file is incorporated as a part of - the login process. + the login process. + + 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 .bash_profile is not normally used when + a virtual terminal is started. In this case, add the export command to + the .bashrc file for the user and root. In addition, + some distributions have instructions to not run the .bashrc + instructions in a non-interactive bash invocation. Be sure to add the + export command before the test for non-interactive use. + + -- cgit v1.2.3-54-g00ecf