summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-12-06 02:52:47 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-12-06 02:52:47 +0100
commit52b9001dc8f8e0462498551adb7319a83a63aca8 (patch)
tree3992dc6abfebdfc584f1d4721f6c8698291947d2
parent022ee7a00a79f4f54b61a597fd42c9a6450e5742 (diff)
Move /run cleanup to after fsck & rw-remount
-rw-r--r--debian/patches/run.patch19
1 files changed, 10 insertions, 9 deletions
diff --git a/debian/patches/run.patch b/debian/patches/run.patch
index d1429c94..6c9dfa60 100644
--- a/debian/patches/run.patch
+++ b/debian/patches/run.patch
@@ -1,16 +1,17 @@
-Index: hurd/daemons/runsystem.sh
+Index: hurd/daemons/rc.sh
===================================================================
---- hurd.orig/daemons/runsystem.sh 2011-12-06 01:30:23.371425299 +0100
-+++ hurd/daemons/runsystem.sh 2011-12-06 01:31:42.029647704 +0100
-@@ -61,6 +61,11 @@ if ! test -e /servers/socket/1 && which
- settrans -c /servers/socket/1 /hurd/pflocal
+--- hurd.orig/daemons/rc.sh 2011-12-06 02:51:32.000000000 +0100
++++ hurd/daemons/rc.sh 2011-12-06 02:52:16.000000000 +0100
+@@ -98,6 +98,12 @@
+ chgrp utmp utmp
+ fi; })
fi
-
++
+# until we properly start /etc/rcS.d
+rm -fr /run/*
+mkdir -p /run/lock /run/shm
+chmod 1777 /run/lock /run/shm
+
- # We expect to be started by console-run, which gives us no arguments and
- # puts FALLBACK_CONSOLE=file-name in the environment if our console is
- # other than a normal /dev/console.
+ echo done
+
+ # This file must exist for e2fsck to work. XXX