system: hurd: Boot with the statically-linked 'exec' server.

This works around <https://issues.guix.gnu.org/58631>.

* gnu/system.scm (hurd-multiboot-modules): Use '/hurd/exec.static'
instead of 'ld.so /hurd/exec'.
This commit is contained in:
Ludovic Courtès 2022-10-23 12:20:55 +02:00
parent b741f30572
commit 3fb3bd3da5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1492,8 +1492,14 @@ (define (hurd-multiboot-modules os)
(cross-libc target))
glibc))
(exec-server-command
(list (file-append libc "/lib/ld.so.1") "exec"
(file-append hurd "/hurd/exec") "'$(exec-task=task-create)'")))
;; XXX: Run the statically-linked 'exec' to work around
;; <https://issues.guix.gnu.org/58631>, which manifests on some
;; machines.
;; (list (file-append libc "/lib/ld.so.1") "exec"
;; (file-append hurd "/hurd/exec") "'$(exec-task=task-create)'")
(list (file-append hurd "/hurd/exec.static") "exec"
"'$(exec-task=task-create)'")))
(list root-file-system-command exec-server-command)))
(define* (operating-system-boot-parameters os root-device