diff options
| author | Bruno Victal <mirai@makinata.eu> | 2023-02-25 18:57:49 +0000 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-03-03 17:55:32 +0100 |
| commit | ad665a38fc18ed7a6b8efb09086713b0e73e3781 (patch) | |
| tree | 8c7e2a5eef39cf595beac9b41d48c76cb8539aa8 /gnu | |
| parent | 6dd635b4cf7a65560056c1089982fe00f73e6468 (diff) | |
services: base: Deprecate 'mingetty-service' procedure.
* doc/guix.texi (Base Services): Replace mingetty-service with
mingetty-service-type.
* gnu/services/base.scm (mingetty-service): Deprecate procedure.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/services/base.scm | 5 | ||||
| -rw-r--r-- | gnu/system/install.scm | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 8dfd92aacfb..c762485054e 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm | |||
| @@ -173,7 +173,7 @@ | |||
| 173 | mingetty-configuration-clear-on-logout? | 173 | mingetty-configuration-clear-on-logout? |
| 174 | mingetty-configuration-mingetty | 174 | mingetty-configuration-mingetty |
| 175 | mingetty-configuration? | 175 | mingetty-configuration? |
| 176 | mingetty-service | 176 | mingetty-service ; deprecated |
| 177 | mingetty-service-type | 177 | mingetty-service-type |
| 178 | 178 | ||
| 179 | %nscd-default-caches | 179 | %nscd-default-caches |
| @@ -1275,7 +1275,8 @@ the tty to run, among other things." | |||
| 1275 | "Provide console login using the @command{mingetty} | 1275 | "Provide console login using the @command{mingetty} |
| 1276 | program."))) | 1276 | program."))) |
| 1277 | 1277 | ||
| 1278 | (define* (mingetty-service config) | 1278 | (define-deprecated (mingetty-service config) |
| 1279 | mingetty-service-type | ||
| 1279 | "Return a service to run mingetty according to @var{config}, which specifies | 1280 | "Return a service to run mingetty according to @var{config}, which specifies |
| 1280 | the tty to run, among other things." | 1281 | the tty to run, among other things." |
| 1281 | (service mingetty-service-type config)) | 1282 | (service mingetty-service-type config)) |
diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 8c7585f188c..1b05a862c67 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm | |||
| @@ -331,9 +331,10 @@ Using this shell, you can carry out the installation process \"manually.\" | |||
| 331 | Access documentation at any time by pressing Alt-F2.\x1b[0m | 331 | Access documentation at any time by pressing Alt-F2.\x1b[0m |
| 332 | "))) | 332 | "))) |
| 333 | (define (normal-tty tty) | 333 | (define (normal-tty tty) |
| 334 | (mingetty-service (mingetty-configuration (tty tty) | 334 | (service mingetty-service-type |
| 335 | (auto-login "root") | 335 | (mingetty-configuration (tty tty) |
| 336 | (login-pause? #t)))) | 336 | (auto-login "root") |
| 337 | (login-pause? #t)))) | ||
| 337 | 338 | ||
| 338 | (define bare-bones-os | 339 | (define bare-bones-os |
| 339 | (load "examples/bare-bones.tmpl")) | 340 | (load "examples/bare-bones.tmpl")) |
