Author: bdubbs
Date: Tue Aug 21 12:53:49 2018
New Revision: 11455

Log:
Tweak the Makefile
Minor change to mountfs boot script when stopping.

Modified:
   trunk/BOOK/Makefile
   trunk/BOOK/bootscripts/lfs/init.d/mountfs
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/Makefile
==============================================================================
--- trunk/BOOK/Makefile Thu Aug 16 10:43:13 2018        (r11454)
+++ trunk/BOOK/Makefile Tue Aug 21 12:53:49 2018        (r11455)
@@ -158,11 +158,11 @@
        @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
        $(Q)mkdir -p $(BASEDIR)
 
-       $(Q)xsltproc --nonet --xinclude                    \
-                --stringparam profile.revision $(REV) \
-                --output $(RENDERTMP)/sysd-wget.xml   \
-                stylesheets/lfs-xsl/profile.xsl       \
-                chapter03/chapter03.xml
+       #$(Q)xsltproc --nonet --xinclude                    \
+   #             --stringparam profile.revision $(REV) \
+   #             --output $(RENDERTMP)/sysd-wget.xml   \
+   #             stylesheets/lfs-xsl/profile.xsl       \
+   #             chapter03/chapter03.xml
 
        $(Q)xsltproc --xinclude --nonet            \
                 --output $(BASEDIR)/wget-list \

Modified: trunk/BOOK/bootscripts/lfs/init.d/mountfs
==============================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/mountfs   Thu Aug 16 10:43:13 2018        
(r11454)
+++ trunk/BOOK/bootscripts/lfs/init.d/mountfs   Tue Aug 21 12:53:49 2018        
(r11455)
@@ -54,6 +54,8 @@
    stop)
       # Don't unmount virtual file systems like /run
       log_info_msg "Unmounting all other currently mounted file systems..."
+      # Ensure any loop devies are removed
+      losetup -D
       umount --all --detach-loop --read-only \
              --types notmpfs,nosysfs,nodevtmpfs,noproc,nodevpts >/dev/null
       evaluate_retval

Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml  Thu Aug 16 10:43:13 2018        (r11454)
+++ trunk/BOOK/chapter01/changelog.xml  Tue Aug 21 12:53:49 2018        (r11455)
@@ -42,6 +42,16 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
 -->
+    <listitem revision="sysv">
+      <para>2018-08-20</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Ensure loop devices are detached when
+          shutting down.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2018-08-16</para>
       <itemizedlist>

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Thu Aug 16 10:43:13 2018        (r11454)
+++ trunk/BOOK/packages.ent     Tue Aug 21 12:53:49 2018        (r11455)
@@ -374,7 +374,7 @@
 <!ENTITY less-ch6-du "3.9 MB">
 <!ENTITY less-ch6-sbu "less than 0.1 SBU">
 
-<!ENTITY lfs-bootscripts-version "20170626">      <!-- Scripts depend on this 
format -->
+<!ENTITY lfs-bootscripts-version "20180820">      <!-- Scripts depend on this 
format -->
 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">        
 <!ENTITY lfs-bootscripts-url 
"&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
 <!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">  
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to