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
This commit is contained in:
Bruce Dubbs 2018-08-21 19:53:49 +00:00
parent df5a35d70b
commit 16334b46d7
4 changed files with 18 additions and 6 deletions

View File

@ -158,11 +158,11 @@ $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
@echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..." @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
$(Q)mkdir -p $(BASEDIR) $(Q)mkdir -p $(BASEDIR)
$(Q)xsltproc --nonet --xinclude \ #$(Q)xsltproc --nonet --xinclude \
--stringparam profile.revision $(REV) \ # --stringparam profile.revision $(REV) \
--output $(RENDERTMP)/sysd-wget.xml \ # --output $(RENDERTMP)/sysd-wget.xml \
stylesheets/lfs-xsl/profile.xsl \ # stylesheets/lfs-xsl/profile.xsl \
chapter03/chapter03.xml # chapter03/chapter03.xml
$(Q)xsltproc --xinclude --nonet \ $(Q)xsltproc --xinclude --nonet \
--output $(BASEDIR)/wget-list \ --output $(BASEDIR)/wget-list \

View File

@ -54,6 +54,8 @@ case "${1}" in
stop) stop)
# Don't unmount virtual file systems like /run # Don't unmount virtual file systems like /run
log_info_msg "Unmounting all other currently mounted file systems..." log_info_msg "Unmounting all other currently mounted file systems..."
# Ensure any loop devies are removed
losetup -D
umount --all --detach-loop --read-only \ umount --all --detach-loop --read-only \
--types notmpfs,nosysfs,nodevtmpfs,noproc,nodevpts >/dev/null --types notmpfs,nosysfs,nodevtmpfs,noproc,nodevpts >/dev/null
evaluate_retval evaluate_retval

View File

@ -42,6 +42,16 @@
<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 revision="sysv">
<para>2018-08-20</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Ensure loop devices are detached when
shutting down.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>2018-08-16</para> <para>2018-08-16</para>
<itemizedlist> <itemizedlist>

View File

@ -374,7 +374,7 @@
<!ENTITY less-ch6-du "3.9 MB"> <!ENTITY less-ch6-du "3.9 MB">
<!ENTITY less-ch6-sbu "less than 0.1 SBU"> <!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-size "BOOTSCRIPTS-SIZE KB">
<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2"> <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
<!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM"> <!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">