aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/hurd.scm
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2023-05-30 18:00:22 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2024-10-15 11:13:47 +0200
commit85130e1a752275aaa4030124e3d38ab502c62e0b (patch)
treea8ec3a40ad7d42f8977ce9dd589b10ff4e0be263 /gnu/packages/hurd.scm
parentaaa12db63270c487e3be1963b0fdfe93fdb2544d (diff)
downloadguix-85130e1a752275aaa4030124e3d38ab502c62e0b.tar
guix-85130e1a752275aaa4030124e3d38ab502c62e0b.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.
Diffstat (limited to 'gnu/packages/hurd.scm')
-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 3d2a37a1e2..e6ea920714 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -383,6 +383,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