diff --git a/appendices/acknowledgments.xml b/appendices/acknowledgments.xml index 6c6422c1e..5f230a4b6 100644 --- a/appendices/acknowledgments.xml +++ b/appendices/acknowledgments.xml @@ -49,11 +49,6 @@ <ken@linuxfromscratch.org> – BLFS Editor - - Douglas R. Reno - <renodr@linuxfromscratch.org> – Systemd Editor - - Countless other people on the various LFS and BLFS mailing lists who helped make this book possible by giving their suggestions, testing @@ -374,6 +369,11 @@ Gateway Maintainer + + Douglas R. Reno + <renodr@linuxfromscratch.org> – Systemd Editor + + Ryan Oliver <ryan@linuxfromscratch.org> – CLFS Project diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 5b89066f0..0cf0791d0 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,17 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2018-01-13 + + + [bdubbs] - Add warnings about mounting /mnt/lfs and + the export of $LFS if restarting the host system. Add + comments to automate those actions. + + + + 2018-01-13 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. + + diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml index c6f749e66..0a922327f 100644 --- a/chapter02/mounting.xml +++ b/chapter02/mounting.xml @@ -45,6 +45,19 @@ mount -v -t ext4 /dev/<yyy> $LFS/usrnosuid and/or are set, the partition will need to be remounted. + The above instructions assume that you will not be restarting + your computer throughout the LFS process. If you shut down your system, + you will either need to remount the LFS partition each time you restart + the build process or modify your host system's /etc/fstab file to automatically + remount it upon boot. For example: + +/dev/<xxx> /mnt/lfs ext4 defaults 1 1 + + If you use additional optional partitions, be sure to add them also. + + + + If you are using a swap partition, ensure that it is enabled using the swapon command: diff --git a/general.ent b/general.ent index b1bb755a1..ed3ccad53 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/prologue/bookinfo.xml b/prologue/bookinfo.xml index 6887ace1d..07e1384b5 100644 --- a/prologue/bookinfo.xml +++ b/prologue/bookinfo.xml @@ -19,10 +19,12 @@ Managing Editor: Bruce Dubbs + Editor: DJ Lucas