[SCM] Debian Live initramfs hook branch, master, updated. 1.156.1-1-5-gb96fe04

Daniel Baumann daniel at debian.org
Thu Mar 5 13:02:07 UTC 2009


The following commit has been merged in the master branch:
commit b96fe0451c108cb26d9583e2fc27ec1dd11ccb00
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Mar 5 12:22:09 2009 +0100

    Extending umountfs hack for local filesystems as well.

diff --git a/scripts/live-bottom/16umountfs b/scripts/live-bottom/16umountfs
index 13c3b4c..580bfd1 100755
--- a/scripts/live-bottom/16umountfs
+++ b/scripts/live-bottom/16umountfs
@@ -30,7 +30,9 @@ log_begin_msg "Disabling umountfs for live specific filesystems"
 
 if [ -e /root/etc/init.d/umountfs ]
 then
-	sed -i -e 's|TMPFS_MTPTS="$(pioodl $TMPFS_MTPTS)"|TMPFS_MTPTS="/tmp"|' /root/etc/init.d/umountfs
+	sed -i	-e 's#pioodl $TMPFS_MTPTS#pioodl $TMPFS_MTPTS | sed -e 's@\ @\\\\n@' | grep -v ^/live"#' \
+		-e 's#pioodl $REG_MTPTS#pioodl $REG_MTPTS | sed -e 's@\ @\\\\n@' | grep -v ^/live | grep -v ^/filesystem#' \
+	/root/etc/init.d/umountfs
 fi
 
 log_end_msg

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list