gnu: services: Add %hurd-startup-service.
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>
Thu, 30 Apr 2020 13:40:07 +0000 (15:40 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 8 Jun 2020 12:26:14 +0000 (14:26 +0200)
commit68d8c094659565fe19abc1c433a17337ce5cacb7
tree4f97b2413193eab93839f647a5cdcca9575dab7b
parentb37c544196898cc3dfa3da07ed344fbe11abc120
gnu: services: Add %hurd-startup-service.

This decouples startup of the Hurd from the "hurd" package, moving the RC
script into SYSTEM.

* gnu/packages/hurd.scm (hurd)[inputs]: Remove hurd-rc-script.
[arguments]: Do not substitute it.  Update "runsystem.sh" to parse kernel
arguments and exec into --system=SYSTEM/rc.
(hurd-rc-script): Move to...
* gnu/services.scm (%hurd-rc-file): ...this new variable.
(hurd-rc-entry): New procedure.
(%hurd-startup-service): Use it in new variable.
* gnu/system.scm (hurd-default-essential-services): Use it.
gnu/build/hurd-boot.scm
gnu/packages/hurd.scm
gnu/services.scm
gnu/system.scm