diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2018-01-26 20:37:11 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2018-01-26 20:37:11 +0000 |
commit | 54b3fb5e8c05dbbdddd683ad0af9b03bfb9f2f38 (patch) | |
tree | 6380e507540cd71147f64941a24b74878627ac20 | |
parent | 89970f9a7c1da12d1e823170f73577fbf4d72fe7 (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
-rw-r--r-- | appendices/acknowledgments.xml | 10 | ||||
-rw-r--r-- | chapter01/changelog.xml | 11 | ||||
-rw-r--r-- | chapter02/aboutlfs.xml | 13 | ||||
-rw-r--r-- | chapter02/mounting.xml | 13 | ||||
-rw-r--r-- | general.ent | 6 | ||||
-rw-r--r-- | prologue/bookinfo.xml | 2 |
6 files changed, 46 insertions, 9 deletions
diff --git a/appendices/acknowledgments.xml b/appendices/acknowledgments.xml index 6c6422c1e..5f230a4b6 100644 --- a/appendices/acknowledgments.xml +++ b/appendices/acknowledgments.xml @@ -50,11 +50,6 @@ </listitem> <listitem> - <para><ulink url="mailto:renodr@linuxfromscratch.org">Douglas R. Reno</ulink> - <renodr@linuxfromscratch.org> – Systemd Editor</para> - </listitem> - - <listitem> <para>Countless other people on the various LFS and BLFS mailing lists who helped make this book possible by giving their suggestions, testing the book, and submitting bug reports, instructions, and their @@ -375,6 +370,11 @@ </listitem> <listitem> + <para><ulink url="mailto:renodr@linuxfromscratch.org">Douglas R. Reno</ulink> + <renodr@linuxfromscratch.org> – Systemd Editor</para> + </listitem> + + <listitem> <para><ulink url="mailto:ryan@linuxfromscratch.org">Ryan Oliver</ulink> <ryan@linuxfromscratch.org> – CLFS Project Co-Leader</para> diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 5b89066f0..0cf0791d0 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -46,6 +46,17 @@ <para>2018-01-13</para> <itemizedlist> <listitem> + <para>[bdubbs] - Add warnings about mounting /mnt/lfs and + the export of $LFS if restarting the host system. Add + comments to automate those actions.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> + <para>2018-01-13</para> + <itemizedlist> + <listitem> <para>[bdubbs] - Update to mpfr-4.0.0. Fixes <ulink url="&lfs-ticket-root;4185">#4185</ulink>.</para> </listitem> 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> 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/<replaceable><yyy></replaceable> $LFS/usr</userinput partition. If <option>nosuid</option> and/or <option>nodev</option> are set, the partition will need to be remounted.</para> + <warning><para>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: + +<screen role="nodump">/dev/<replaceable><xxx></replaceable> /mnt/lfs ext4 defaults 1 1</screen> + + If you use additional optional partitions, be sure to add them also. + + </para></warning> + + <para>If you are using a <systemitem class="filesystem">swap</systemitem> partition, ensure that it is enabled using the <command>swapon</command> command:</para> diff --git a/general.ent b/general.ent index b1bb755a1..ed3ccad53 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ -<!ENTITY version "SVN-20180114"> +<!ENTITY version "SVN-20180126"> <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; Change to x.y for release but not -rc releases --> <!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" --> -<!ENTITY versiond "20180114-systemd"> +<!ENTITY versiond "20180126-systemd"> <!ENTITY short-versiond "systemd"> <!ENTITY generic-versiond "systemd"> -<!ENTITY releasedate "January 14, 2018"> +<!ENTITY releasedate "January 26, 2018"> <!ENTITY copyrightdate "1999-2018"><!-- jhalfs needs a literal dash, not – --> <!ENTITY milestone "8.2"> 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 @@ <firstname>Managing Editor: Bruce</firstname> <surname>Dubbs</surname> </author> + <!-- <author revision="systemd"> <firstname>Editor: Douglas R.</firstname> <surname>Reno</surname> </author> + --> <author revision="systemd"> <firstname>Editor: DJ</firstname> <surname>Lucas</surname> |