[lfs-book] r9748 - in trunk/BOOK: . bootscripts/lfs/init.d chapter01 chapter06

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Sun Feb 19 18:08:18 PST 2012


Author: bdubbs
Date: 2012-02-19 19:08:13 -0700 (Sun, 19 Feb 2012)
New Revision: 9748

Modified:
   trunk/BOOK/bootscripts/lfs/init.d/mountfs
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/m4.xml
   trunk/BOOK/general.ent
   trunk/BOOK/packages.ent
Log:
Add sed to the m4 package to fix a false test failure.
Update mountfs script to support LVM volumes when stopping.


Modified: trunk/BOOK/bootscripts/lfs/init.d/mountfs
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/mountfs	2012-02-15 21:40:35 UTC (rev 9747)
+++ trunk/BOOK/bootscripts/lfs/init.d/mountfs	2012-02-20 02:08:13 UTC (rev 9748)
@@ -64,7 +64,9 @@
       log_info_msg "Unmounting all other currently mounted file systems..."
       umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs >/dev/null
       evaluate_retval
-      exit 0
+
+      # Make all LVM volume groups unavailable, if appropriate
+      if [ -x /sbin/vgchange ]; then /sbin/vgchange -an; fi
       ;;
 
    *)

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2012-02-15 21:40:35 UTC (rev 9747)
+++ trunk/BOOK/chapter01/changelog.xml	2012-02-20 02:08:13 UTC (rev 9748)
@@ -38,6 +38,20 @@
 -->
 
     <listitem>
+      <para>2012-02-19</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add sed to the m4 package to fix a false test
+          error.  Fixes <ulink url="&lfs-ticket-root;3022">#3022</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update mountfs script to support LVM volumes when
+          stopping.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2012-02-15</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/chapter06/m4.xml
===================================================================
--- trunk/BOOK/chapter06/m4.xml	2012-02-15 21:40:35 UTC (rev 9747)
+++ trunk/BOOK/chapter06/m4.xml	2012-02-20 02:08:13 UTC (rev 9748)
@@ -48,9 +48,11 @@
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>To test the results, issue:</para>
+    <!--<para>To test the results, issue:</para>-->
+    <para>To test the results, first fix a test program and then run the test programs:</para>
 
-<screen><userinput remap="test">make check</userinput></screen>
+<screen><userinput remap="test">sed -i -e '41s/ENOENT/& || errno == EINVAL/' tests/test-readlink.h
+make check</userinput></screen>
 
     <para>Install the package:</para>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2012-02-15 21:40:35 UTC (rev 9747)
+++ trunk/BOOK/general.ent	2012-02-20 02:08:13 UTC (rev 9748)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20120215">
-<!ENTITY releasedate "Feb 15, 2012">
+<!ENTITY version "SVN-20120219">
+<!ENTITY releasedate "Feb 19, 2012">
 <!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not – -->
 <!ENTITY milestone "7.1">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2012-02-15 21:40:35 UTC (rev 9747)
+++ trunk/BOOK/packages.ent	2012-02-20 02:08:13 UTC (rev 9748)
@@ -305,7 +305,7 @@
 <!ENTITY less-ch6-du "3.5 MB">
 <!ENTITY less-ch6-sbu "less than 0.1 SBU">
 
-<!ENTITY lfs-bootscripts-version "20120215">                 <!-- Scripts depend on this format -->
+<!ENTITY lfs-bootscripts-version "20120219">                 <!-- Scripts depend on this format -->
 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">         <!-- Updated in Makefile -->
 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
 <!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">           <!-- Updated in Makefile -->




More information about the lfs-book mailing list