guix-patches
[Top][All Lists]
Advanced

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

[bug#73927] [PATCH 02/16] gnu: hurd: Support system init in /libexec/run


From: Janneke Nieuwenhuizen
Subject: [bug#73927] [PATCH 02/16] gnu: hurd: Support system init in /libexec/runsystem.
Date: Mon, 21 Oct 2024 10:16:58 +0200

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.

Change-Id: Ib61af08dd7b9c5659c938697671f69908bb7e20f
---
 gnu/packages/hurd.scm | 2 ++
 1 file changed, 2 insertions(+)

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 @@ (define-public hurd
 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
 
-- 
2.46.0






reply via email to

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