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/20110519


From: Samuel Thibault
Subject: [SCM] Debian GNU Hurd packaging branch, master, updated. debian/20110519-3-7-g604b235
Date: Wed, 17 Aug 2011 23:46:51 +0000

The following commit has been merged in the master branch:
commit 604b23524a1d639cf3d8d74db6cf04ee3078c0d9
Author: Samuel Thibault <address@hidden>
Date:   Thu Aug 18 01:46:48 2011 +0200

    create /run/shm and /run/lock, to fix locking until we properly start rcS.d 
scripts.

diff --git a/debian/changelog b/debian/changelog
index 06bb048..1a412ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 hurd (20110519-4) UNRELEASED; urgency=low
 
-  * local/setup-translators: Restore /dev/shm creation.
+  * local/setup-translators:
+    - Restore /dev/shm creation.
+    - create /run/shm and /run/lock, to fix locking until we properly start
+    rcS.d scripts.
   * patches/libdiskfs_sync.patch: New patch to fix sync at shutdown.
   * local/setup-translators: Set up entropy socket in /var/run instead of
     /tmp, as the latter is world-writable.
diff --git a/debian/local/setup-translators b/debian/local/setup-translators
index 6bd2f1d..57dd676 100755
--- a/debian/local/setup-translators
+++ b/debian/local/setup-translators
@@ -151,11 +151,11 @@ fi
 
 st kbd 'symlink cons/kbd' kbd
 st mouse 'symlink cons/mouse' mouse
+st shm 'symlink /run/shm' shm
 
-if [ ! -e shm ]; then
-       mkdir shm
-       chmod 1777 shm
-fi
+# until we properly start /etc/rcS.d
+mkdir -p /run/lock /run/shm
+chmod 1777 /run/lock /run/shm
 
 echo .
 

-- 
Debian GNU Hurd packaging



reply via email to

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