summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall_crosshurd8
1 files changed, 7 insertions, 1 deletions
diff --git a/install_crosshurd b/install_crosshurd
index ea3be005a..198a60824 100755
--- a/install_crosshurd
+++ b/install_crosshurd
@@ -49,6 +49,8 @@ TERM=mach &&
umask 022 &&
+fsysopts / --writable &&
+
# Needed for dpkg.
{ test -c /servers/socket/1 \
|| settrans -c /servers/socket/1 /hurd/pflocal; } &&
@@ -74,9 +76,13 @@ EOS
# Already enable swap up here.
mkswap.linux -v1 /dev/$DISK_SWAP &&
-/hurd/mach-defpager &&
+# Might be running already.
+{ /hurd/mach-defpager || :; } &&
swapon -a &&
+# Work around »Existing system found, exitting.«.
+{ test -d /proc/ && rmdir /proc || :; } &&
+
./native-install &&
passwd \