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

Daniel Baumann daniel at debian.org
Thu Mar 5 11:26:18 UTC 2009


The following commit has been merged in the master branch:
commit 16d496bd3a26e60ff76af6951e48d4e348dbb544
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..df18d68 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#TMPFS_MTPTS="$(pioodl $TMPFS_MTPTS)"#TMPFS_MTPTS="$(pioodl $TMPFS_MTPTS | sed -e 's/ /\n/g' | grep -v ^/live)"#' \
+		-e 's#REG_MTPTS="$(pioodl $REG_MTPTS)"#REG_MTPTS="$(pioodl $REG_MTPTS | sed -e 's/ /\n/g' | grep -v ^/live)"#' \
+	/root/etc/init.d/umountfs
 fi
 
 log_end_msg

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list