From 52b9001dc8f8e0462498551adb7319a83a63aca8 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 6 Dec 2011 02:52:47 +0100 Subject: Move /run cleanup to after fsck & rw-remount --- debian/patches/run.patch | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'debian/patches') 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 -- cgit v1.2.3