summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-08-05 13:41:03 +0200
committerThomas Schwinge <thomas@schwinge.name>2013-02-09 22:56:12 +0100
commit7903b165236dae13a5dc1d3611984bb1a2a2b558 (patch)
tree2590552bdbfea305400e4fb1108e0ec0383ded1e
parentb01aeff87877a6cdbe84209b04714b3ebb4d2670 (diff)
install_crosshurd: Update to match recent changes.install_crosshurd
-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 \