Explorar el Código

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


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11455 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Bruce Dubbs hace 7 años
padre
commit
16334b46d7
Se han modificado 4 ficheros con 18 adiciones y 6 borrados
  1. 5 5
      Makefile
  2. 2 0
      bootscripts/lfs/init.d/mountfs
  3. 10 0
      chapter01/changelog.xml
  4. 1 1
      packages.ent

+ 5 - 5
Makefile

@@ -158,11 +158,11 @@ $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
 	@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 \

+ 2 - 0
bootscripts/lfs/init.d/mountfs

@@ -54,6 +54,8 @@ case "${1}" in
    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

+ 10 - 0
chapter01/changelog.xml

@@ -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>

+ 1 - 1
packages.ent

@@ -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">