janneke pushed a commit to branch wip-hurd
in repository guix.

commit 047b9afefac70599440a682f6aef8071c9837f51
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue May 30 18:00:22 2023 +0200

    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.
---
 gnu/packages/hurd.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index bf10accd53..e236c5c71c 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -398,6 +398,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
 

Reply via email to