mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
services: Define '%linux-bare-metal-service' using 'simple-service'.
* gnu/services.scm (linux-bare-metal-service-type): Remove. (%linux-bare-metal-service): Define in terms of 'simple-service'.
This commit is contained in:
parent
012863081d
commit
6ddf4fcfae
1 changed files with 4 additions and 7 deletions
|
@ -403,16 +403,13 @@ (define %linux-kernel-activation
|
|||
;; Let users debug their own processes!
|
||||
(activate-ptrace-attach)))
|
||||
|
||||
(define linux-bare-metal-service-type
|
||||
(service-type (name 'linux-bare-metal)
|
||||
(extensions
|
||||
(list (service-extension activation-service-type
|
||||
(const %linux-kernel-activation))))))
|
||||
|
||||
(define %linux-bare-metal-service
|
||||
;; The service that does things that are needed on the "bare metal", but not
|
||||
;; necessary or impossible in a container.
|
||||
(service linux-bare-metal-service-type #f))
|
||||
(simple-service 'linux-bare-metal
|
||||
activation-service-type
|
||||
%linux-kernel-activation))
|
||||
|
||||
|
||||
(define special-files-service-type
|
||||
;; Service to install "special files" such as /bin/sh and /usr/bin/env.
|
||||
|
|
Loading…
Reference in a new issue