From d2ac13d26077f96a6c9c7ae4e7896a60279ae157 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 16 Sep 2013 07:46:12 +0000 Subject: debian/rc.patch: point /run/mtab to /proc/mounts. --- debian/patches/rc.patch | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'debian/patches') diff --git a/debian/patches/rc.patch b/debian/patches/rc.patch index 228bb349..3bcff71f 100644 --- a/debian/patches/rc.patch +++ b/debian/patches/rc.patch @@ -3,9 +3,11 @@ More debianish rc scripts daemons/rc.sh | 43 ++++++++++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 11 deletions(-) ---- a/daemons/rc.sh -+++ b/daemons/rc.sh -@@ -19,14 +19,17 @@ then +Index: hurd-debian/daemons/rc.sh +=================================================================== +--- hurd-debian.orig/daemons/rc.sh 2013-09-16 07:43:39.000000000 +0000 ++++ hurd-debian/daemons/rc.sh 2013-09-16 07:44:04.000000000 +0000 +@@ -19,14 +19,17 @@ echo Automatic boot in progress... date @@ -24,7 +26,7 @@ More debianish rc scripts ;; # Fsck couldn't fix it. 4 | 8) -@@ -85,7 +88,15 @@ if test -d /tmp; then +@@ -85,12 +88,20 @@ fi if test -d /var/run; then @@ -41,7 +43,14 @@ More debianish rc scripts fi echo done -@@ -104,15 +115,25 @@ touch /var/run/mtab +-# This file must exist for e2fsck to work. XXX +-touch /var/run/mtab ++# This file must exist for e2fsck to work. ++ln -s /proc/mounts /var/run/mtab + + #echo -n restoring pty permissions... + #chmod 666 /dev/tty[pqrs]* +@@ -104,15 +115,25 @@ chmod 664 /etc/motd -- cgit v1.2.3