summary refs log tree commit diff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2023-05-30 18:00:22 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2023-07-21 17:58:17 +0200
commitfaeb31c6a911808ebe956f9df73f979f9dafcaab (patch)
treecf61e47afc4006f89b9028ad91ac28e5f6e621b5
parentcef6847d2762554ec06239804f4cf1450f163faf (diff)
downloadguix-faeb31c6a911808ebe956f9df73f979f9dafcaab.tar.gz
hurd: Support system init in /libexec/runsystem.
This is the first step to support booting after guix system init, which does
not create /servers.

* gnu/packages/hurd.scm (hurd)[arguments]: In stage create-runsystem, do not
assume /servers/socket/ exists, remove any existing /servers/socket/1.
-rw-r--r--gnu/packages/hurd.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index f697694124..0aa32ad3dd 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -392,6 +392,8 @@ PATH=@PATH@
 fsck --yes --force /
 fsysopts / --writable
 
+mkdir -p /servers/socket
+rm -f /servers/socket/1
 # Note: this /hurd/ gets substituted
 settrans --create /servers/socket/1 /hurd/pflocal