guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/67: hurd: Support system init in /libexec/runsystem.


From: guix-commits
Subject: 18/67: hurd: Support system init in /libexec/runsystem.
Date: Tue, 18 Jul 2023 10:16:02 -0400 (EDT)

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

commit a13cbf1b773f3f3d53340ea503a117eaffe6c5d9
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
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 4064a9e2e8..38b5ae7f0b 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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]