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
|
@ -403,16 +403,13 @@ (define %linux-kernel-activation
|
||||||
;; Let users debug their own processes!
|
;; Let users debug their own processes!
|
||||||
(activate-ptrace-attach)))
|
(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
|
(define %linux-bare-metal-service
|
||||||
;; The service that does things that are needed on the "bare metal", but not
|
;; The service that does things that are needed on the "bare metal", but not
|
||||||
;; necessary or impossible in a container.
|
;; 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
|
(define special-files-service-type
|
||||||
;; Service to install "special files" such as /bin/sh and /usr/bin/env.
|
;; Service to install "special files" such as /bin/sh and /usr/bin/env.
|
||||||
|
|
Loading…
Reference in a new issue