[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 01/01: * local/runsystem: Try to warn even earlier
From: |
Samuel Thibault |
Subject: |
[hurd] 01/01: * local/runsystem: Try to warn even earlier |
Date: |
Sun, 03 Jan 2016 00:58:35 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch master
in repository hurd.
commit 220a154f319218ed49e3c77d43157d7a9b3e7831
Author: Samuel Thibault <address@hidden>
Date: Sun Jan 3 01:58:12 2016 +0100
* local/runsystem: Try to warn even earlier
about not enough memory for running the installer.
---
debian/changelog | 2 ++
debian/local/runsystem | 11 +++++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2db5371..466a743 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ hurd (1:0.7-2) UNRELEASED; urgency=medium
* patches/cross-link.patch: Fix cross-linking by making make look at the
right library path.
* hurd.install.in: Fix stage3 build by not including xkb files.
+ * local/runsystem: Try to warn even earlier about not enough memory for
+ running the installer.
-- Samuel Thibault <address@hidden> Fri, 27 Nov 2015 21:45:18 +0100
diff --git a/debian/local/runsystem b/debian/local/runsystem
index ddb4527..4911907 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:]]+=.*$')"
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git