[SCM] Debian Live initramfs hook branch, master, updated. 1.139.1-2-19-g79d1725

Marco Amadori amadorim at vdavda.com
Wed Sep 17 06:52:04 UTC 2008


The following commit has been merged in the master branch:
commit 86707b446077496737dc1bc67a325779a091f4da
Author: Marco Amadori <amadorim at vdavda.com>
Date:   Mon Sep 15 16:30:35 2008 +0200

    Create /etc/mtab on the initramfs ASAP.
    
    Signed-off-by: Marco Amadori <amadorim at vdavda.com>

diff --git a/scripts/live b/scripts/live
index 418a854..ade7c46 100755
--- a/scripts/live
+++ b/scripts/live
@@ -21,6 +21,17 @@ HOSTNAME="host"
 
 mkdir -p "${mountpoint}"
 
+# Create /etc/mtab for debug purpose and future syncs
+if [ ! -d /etc ]
+then
+	mkdir /etc/
+fi
+
+if [ ! -f /etc/mtab ]
+then
+	touch /etc/mtab
+fi
+
 [ -f /etc/live.conf ] && . /etc/live.conf
 export USERNAME USERFULLNAME HOSTNAME
 

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list