[SCM] Debian Live initramfs hook branch, master, updated. 1.156.1-1-4-gc2d66fb

Daniel Baumann daniel at debian.org
Thu Mar 5 14:37:24 UTC 2009


The following commit has been merged in the master branch:
commit c2d66fb318b8805160103d2a52df2acf2acb04fc
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Mar 5 11:30:17 2009 +0100

    Adding hack to remove live specific filesystems from umounfs initscript (Closes: #506410, #515718).

diff --git a/scripts/live-bottom/16umountfs b/scripts/live-bottom/16umountfs
new file mode 100755
index 0000000..64ad99d
--- /dev/null
+++ b/scripts/live-bottom/16umountfs
@@ -0,0 +1,38 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+	echo "${PREREQ}"
+}
+
+case "${1}" in
+	prereqs)
+		prereqs
+		exit 0
+		;;
+esac
+
+# live-initramfs header
+
+. /live.vars
+
+. /scripts/live-functions
+
+log_begin_msg "Disabling umountfs for live specific filesystems"
+
+# live-initramfs script
+
+if [ -e /root/etc/init.d/umountfs ]
+then
+	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