diff options
Diffstat (limited to 'gnu/installer/tests.scm')
| -rw-r--r-- | gnu/installer/tests.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/installer/tests.scm b/gnu/installer/tests.scm index 8785cd9a9f2..a9a5d5d9880 100644 --- a/gnu/installer/tests.scm +++ b/gnu/installer/tests.scm | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2020 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2020 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com> | 3 | ;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com> |
| 4 | ;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> | ||
| 4 | ;;; | 5 | ;;; |
| 5 | ;;; This file is part of GNU Guix. | 6 | ;;; This file is part of GNU Guix. |
| 6 | ;;; | 7 | ;;; |
| @@ -35,6 +36,7 @@ | |||
| 35 | 36 | ||
| 36 | choose-locale+keyboard | 37 | choose-locale+keyboard |
| 37 | enter-host-name+passwords | 38 | enter-host-name+passwords |
| 39 | choose-kernel | ||
| 38 | choose-services | 40 | choose-services |
| 39 | choose-partitioning | 41 | choose-partitioning |
| 40 | start-installation | 42 | start-installation |
| @@ -211,6 +213,15 @@ ROOT-PASSWORD, and USERS." | |||
| 211 | (password ,password))) | 213 | (password ,password))) |
| 212 | names passwords)))))) | 214 | names passwords)))))) |
| 213 | 215 | ||
| 216 | (define* (choose-kernel port #:key (kernel "Linux Libre")) | ||
| 217 | "Converse over PORT with the guided installer to choose the specified | ||
| 218 | KERNEL." | ||
| 219 | (converse port | ||
| 220 | ((list-selection (title "Kernel") | ||
| 221 | (multiple-choices? #f) | ||
| 222 | (items _)) | ||
| 223 | kernel))) | ||
| 224 | |||
| 214 | (define* (choose-services port | 225 | (define* (choose-services port |
| 215 | #:key | 226 | #:key |
| 216 | (choose-desktop-environment? (const #f)) | 227 | (choose-desktop-environment? (const #f)) |
