commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Debian GNU Hurd packaging branch, master, updated. debian/20111106


From: Samuel Thibault
Subject: [SCM] Debian GNU Hurd packaging branch, master, updated. debian/20111106-1-30-g8ff3795
Date: Tue, 06 Dec 2011 00:33:23 +0000

The following commit has been merged in the master branch:
commit 8ff379524ef18d49bf547a1b9301d199cbff9f4f
Author: Samuel Thibault <address@hidden>
Date:   Tue Dec 6 01:33:02 2011 +0100

    Fix /run initialization
    
      * local/setup-translators: Move /run initialization to...
      * patches/run.patch: ... boot time.

diff --git a/debian/changelog b/debian/changelog
index 4638563..67d7986 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,8 @@ hurd (20111126-1~0) UNRELEASED; urgency=low
     /dev/u?random in hurd-udeb too.
   * hurd-udeb.install: Add /hurd/random.
   * hurd.install: Add /etc/securetty.
+  * local/setup-translators: Move /run initialization to...
+  * patches/run.patch: ... boot time.
 
  -- Samuel Thibault <address@hidden>  Sun, 06 Nov 2011 19:51:54 +0100
 
diff --git a/debian/local/setup-translators b/debian/local/setup-translators
index 4f678d9..38a2312 100755
--- a/debian/local/setup-translators
+++ b/debian/local/setup-translators
@@ -156,9 +156,5 @@ st kbd '/hurd/symlink cons/kbd' kbd
 st mouse '/hurd/symlink cons/mouse' mouse
 st shm '/hurd/symlink /run/shm' shm
 
-# until we properly start /etc/rcS.d
-mkdir -p /run/lock /run/shm
-chmod 1777 /run/lock /run/shm
-
 echo .
 
diff --git a/debian/patches/run.patch b/debian/patches/run.patch
new file mode 100644
index 0000000..d1429c9
--- /dev/null
+++ b/debian/patches/run.patch
@@ -0,0 +1,16 @@
+Index: hurd/daemons/runsystem.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
+ 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.
diff --git a/debian/patches/series b/debian/patches/series
index 321e16c..1474ac4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -31,3 +31,4 @@ libpthread_globsigdisp.patch
 posix-sigcodes.patch
 random-default-fast.patch
 libexec.patch
+run.patch

-- 
Debian GNU Hurd packaging



reply via email to

[Prev in Thread] Current Thread [Next in Thread]