From faeb31c6a911808ebe956f9df73f979f9dafcaab Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Tue, 30 May 2023 18:00:22 +0200 Subject: 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(+) (limited to 'gnu/packages/hurd.scm') 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 -- cgit 1.4.1