diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2022-05-13 23:39:17 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-18 22:29:54 +0200 |
| commit | 9a5d68692314bebd16dbcdc0d4e4e52fa4d5812f (patch) | |
| tree | f5dbc86ba6681ca689571658ad6c9187d11b482b /gnu | |
| parent | 1f3a155548c1203480bfb7fceed82acfe9087ce1 (diff) | |
services: Add more description fields.
* gnu/services.scm (simple-service): Add 'description' field.
* gnu/services/base.scm (udev-rules-service): Likewise.
* gnu/system/install.scm (configuration-template-service-type): Likewise.
* gnu/tests.scm (marionette-service-type): Likewise.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/services.scm | 3 | ||||
| -rw-r--r-- | gnu/services/base.scm | 3 | ||||
| -rw-r--r-- | gnu/system/install.scm | 6 | ||||
| -rw-r--r-- | gnu/tests.scm | 7 |
4 files changed, 13 insertions, 6 deletions
diff --git a/gnu/services.scm b/gnu/services.scm index e3d4fcc2324..234ee372b85 100644 --- a/gnu/services.scm +++ b/gnu/services.scm | |||
| @@ -292,7 +292,8 @@ for service of type '~a'") | |||
| 292 | singleton service type NAME, of which the returned service is an instance." | 292 | singleton service type NAME, of which the returned service is an instance." |
| 293 | (let* ((extension (service-extension target identity)) | 293 | (let* ((extension (service-extension target identity)) |
| 294 | (type (service-type (name name) | 294 | (type (service-type (name name) |
| 295 | (extensions (list extension))))) | 295 | (extensions (list extension)) |
| 296 | (description "This is a simple service.")))) | ||
| 296 | (service type value))) | 297 | (service type value))) |
| 297 | 298 | ||
| 298 | (define-syntax %modify-service | 299 | (define-syntax %modify-service |
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index bcec8885875..3fb92e6da07 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm | |||
| @@ -2191,7 +2191,8 @@ instance." | |||
| 2191 | (service-extension | 2191 | (service-extension |
| 2192 | account-service-type account-extension) | 2192 | account-service-type account-extension) |
| 2193 | (service-extension | 2193 | (service-extension |
| 2194 | udev-service-type udev-extension)))))) | 2194 | udev-service-type udev-extension))) |
| 2195 | (description "This service adds udev rules.")))) | ||
| 2195 | (service type #f))) | 2196 | (service type #f))) |
| 2196 | 2197 | ||
| 2197 | (define (swap-space->shepherd-service-name space) | 2198 | (define (swap-space->shepherd-service-name space) |
diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 073d7df1dbb..2fbf08f6760 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2014-2022 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> | 3 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> |
| 4 | ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr> | 4 | ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr> |
| 5 | ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com> | 5 | ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com> |
| @@ -252,7 +252,9 @@ the user's target storage device rather than on the RAM disk." | |||
| 252 | (service-type (name 'configuration-template) | 252 | (service-type (name 'configuration-template) |
| 253 | (extensions | 253 | (extensions |
| 254 | (list (service-extension etc-service-type | 254 | (list (service-extension etc-service-type |
| 255 | /etc/configuration-files))))) | 255 | /etc/configuration-files))) |
| 256 | (description "Install the operating system configuration file | ||
| 257 | templates under @file{/etc/configuration}."))) | ||
| 256 | 258 | ||
| 257 | (define %configuration-template-service | 259 | (define %configuration-template-service |
| 258 | (service configuration-template-service-type #t)) | 260 | (service configuration-template-service-type #t)) |
diff --git a/gnu/tests.scm b/gnu/tests.scm index 85f38ae8c9b..ca677d315b5 100644 --- a/gnu/tests.scm +++ b/gnu/tests.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2016-2020, 2022 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> | 3 | ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> |
| 4 | ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr> | 4 | ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr> |
| 5 | ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> | 5 | ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> |
| @@ -161,7 +161,10 @@ | |||
| 161 | (service-type (name 'marionette-repl) | 161 | (service-type (name 'marionette-repl) |
| 162 | (extensions | 162 | (extensions |
| 163 | (list (service-extension shepherd-root-service-type | 163 | (list (service-extension shepherd-root-service-type |
| 164 | marionette-shepherd-service))))) | 164 | marionette-shepherd-service))) |
| 165 | (description "The @dfn{marionette} service allows a guest | ||
| 166 | system (virtual machine) to be manipulated by the host. It is used for system | ||
| 167 | tests."))) | ||
| 165 | 168 | ||
| 166 | (define* (marionette-operating-system os | 169 | (define* (marionette-operating-system os |
| 167 | #:key | 170 | #:key |
