summaryrefslogtreecommitdiff
path: root/debian/local
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2016-01-16 14:46:40 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2016-01-16 14:46:40 +0100
commit45b6f3df83e6869cdf6a8d32fdf9e15853f1d1fc (patch)
tree392d458485f4b55d21ac91372aad492ddaa6ec39 /debian/local
parent89de67f0166a79b1d481f2c109c1d093ebe0dd67 (diff)
sync with upstream packaging
Diffstat (limited to 'debian/local')
-rwxr-xr-xdebian/local/runsystem11
-rwxr-xr-xdebian/local/setup-translators4
2 files changed, 10 insertions, 5 deletions
diff --git a/debian/local/runsystem b/debian/local/runsystem
index ddb45270..4911907c 100755
--- a/debian/local/runsystem
+++ b/debian/local/runsystem
@@ -5,10 +5,8 @@ export PATH
umask 022
-# Create a minimal subset of device and server nodes
-/usr/lib/hurd/setup-translators -m -k -p
-
-/hurd/mach-defpager
+mkdir -p /servers/socket
+settrans -c /servers/socket/1 /hurd/pflocal
mem=`vmstat-hurd --size -k`
if [ "$mem" -lt 240000 ]
@@ -21,6 +19,11 @@ then
done
fi
+# Create a minimal subset of device and server nodes
+/usr/lib/hurd/setup-translators -m -k -p
+
+/hurd/mach-defpager
+
# Get all kernel parameters that can be exported as environment variables
envvars="$(echo $* | tr ' ' '\012' | egrep '^[-_/[:alnum:]]+=.*$')"
diff --git a/debian/local/setup-translators b/debian/local/setup-translators
index ebebf5dc..071e241e 100755
--- a/debian/local/setup-translators
+++ b/debian/local/setup-translators
@@ -159,7 +159,9 @@ fi
st kbd '/hurd/symlink cons/kbd' kbd
st mouse '/hurd/symlink cons/mouse' mouse
[ -d shm ] && ! [ -L shm ] && rmdir shm
-st shm '/hurd/symlink /run/shm' shm
+
+# TODO put back to /run/shm when tmpfs open/mmap/close/unlink/dereference crash is fixed
+st shm '/hurd/symlink /tmp' shm
echo .