Преглед на файлове

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

Bruce Dubbs преди 7 години
родител
ревизия
54b3fb5e8c
променени са 6 файла, в които са добавени 46 реда и са изтрити 9 реда
  1. 5 5
      appendices/acknowledgments.xml
  2. 11 0
      chapter01/changelog.xml
  3. 12 1
      chapter02/aboutlfs.xml
  4. 13 0
      chapter02/mounting.xml
  5. 3 3
      general.ent
  6. 2 0
      prologue/bookinfo.xml

+ 5 - 5
appendices/acknowledgments.xml

@@ -49,11 +49,6 @@
       &lt;ken@linuxfromscratch.org&gt; &ndash; BLFS Editor</para>
       &lt;ken@linuxfromscratch.org&gt; &ndash; BLFS Editor</para>
     </listitem>
     </listitem>
 
 
-    <listitem>
-      <para><ulink url="mailto:renodr@linuxfromscratch.org">Douglas R. Reno</ulink>
-      &lt;renodr@linuxfromscratch.org&gt; &ndash; Systemd Editor</para>
-    </listitem>
-
     <listitem>
     <listitem>
       <para>Countless other people on the various LFS and BLFS mailing lists
       <para>Countless other people on the various LFS and BLFS mailing lists
       who helped make this book possible by giving their suggestions, testing
       who helped make this book possible by giving their suggestions, testing
@@ -374,6 +369,11 @@
       Gateway Maintainer</para>
       Gateway Maintainer</para>
     </listitem>
     </listitem>
 
 
+    <listitem>
+      <para><ulink url="mailto:renodr@linuxfromscratch.org">Douglas R. Reno</ulink>
+      &lt;renodr@linuxfromscratch.org&gt; &ndash; Systemd Editor</para>
+    </listitem>
+
     <listitem>
     <listitem>
       <para><ulink url="mailto:ryan@linuxfromscratch.org">Ryan
       <para><ulink url="mailto:ryan@linuxfromscratch.org">Ryan
       Oliver</ulink> &lt;ryan@linuxfromscratch.org&gt; &ndash; CLFS Project
       Oliver</ulink> &lt;ryan@linuxfromscratch.org&gt; &ndash; CLFS Project

+ 11 - 0
chapter01/changelog.xml

@@ -42,6 +42,17 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
     appropriate for the entry or if needed the entire day's listitem.
 -->
 -->
+    <listitem>
+      <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>
     <listitem>
       <para>2018-01-13</para>
       <para>2018-01-13</para>
       <itemizedlist>
       <itemizedlist>

+ 12 - 1
chapter02/aboutlfs.xml

@@ -51,6 +51,17 @@
   <filename>/etc/passwd</filename> file for all users that need the
   <filename>/etc/passwd</filename> file for all users that need the
   <envar>LFS</envar> variable needs to be bash to ensure that 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
   <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>
 </sect1>

+ 13 - 0
chapter02/mounting.xml

@@ -45,6 +45,19 @@ mount -v -t ext4 /dev/<replaceable>&lt;yyy&gt;</replaceable> $LFS/usr</userinput
   partition. If <option>nosuid</option> and/or <option>nodev</option> are set,
   partition. If <option>nosuid</option> and/or <option>nodev</option> are set,
   the partition will need to be remounted.</para>
   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>&lt;xxx&gt;</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
   <para>If you are using a <systemitem
   class="filesystem">swap</systemitem> partition, ensure that it is enabled
   class="filesystem">swap</systemitem> partition, ensure that it is enabled
   using the <command>swapon</command> command:</para>
   using the <command>swapon</command> command:</para>

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20180114">
+<!ENTITY version         "SVN-20180126">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
 
-<!ENTITY versiond        "20180114-systemd">
+<!ENTITY versiond        "20180126-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-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 &ndash; -->
 <!ENTITY copyrightdate   "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "8.2">
 <!ENTITY milestone       "8.2">

+ 2 - 0
prologue/bookinfo.xml

@@ -19,10 +19,12 @@
       <firstname>Managing Editor: Bruce</firstname>
       <firstname>Managing Editor: Bruce</firstname>
       <surname>Dubbs</surname>
       <surname>Dubbs</surname>
     </author>
     </author>
+    <!--
     <author revision="systemd">
     <author revision="systemd">
       <firstname>Editor: Douglas R.</firstname>
       <firstname>Editor: Douglas R.</firstname>
       <surname>Reno</surname>
       <surname>Reno</surname>
     </author>
     </author>
+    -->
     <author revision="systemd">
     <author revision="systemd">
       <firstname>Editor: DJ</firstname>
       <firstname>Editor: DJ</firstname>
       <surname>Lucas</surname>
       <surname>Lucas</surname>