mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 04:20:44 +02:00
services: Add 'linux-bare-metal-service-type'.
* gnu/services.scm (modprobe-wrapper): Remove. (activation-script): Do not use it. Remove calls to 'activate-modprobe' and 'activate-ptrace-attach' in gexp. (%modprobe-wrapper, %linux-kernel-activation, linux-bare-metal-service-type, %linux-bare-metal-service): New variables. * gnu/system.scm (essential-services): Add %LINUX-BARE-METAL-SERVICE to the list, unless CONTAINER? is true.
This commit is contained in:
parent
12f92e38d7
commit
a241a7ac65
2 changed files with 39 additions and 23 deletions
|
@ -287,7 +287,8 @@ a container or that of a \"bare metal\" system."
|
|||
;; container.
|
||||
(if container?
|
||||
'()
|
||||
(list (service firmware-service-type
|
||||
(list %linux-bare-metal-service
|
||||
(service firmware-service-type
|
||||
(operating-system-firmware os))))))))
|
||||
|
||||
(define* (operating-system-services os #:key container?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue