diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2024-12-19 16:22:45 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2024-12-28 22:40:29 +0100 |
| commit | ebe706a1e820c52b9b067055cef1bc72abe1bc40 (patch) | |
| tree | d734b1893c08162e86255a1fdd37eaed2afe109b /gnu/system.scm | |
| parent | 5c9029dc79027a156aceb86b38d9fd9abb3cdaa4 (diff) | |
system: Export ‘…-initrd-file’ and ‘…-root-file-system’.
* gnu/system.scm (operating-system-initrd-file): Fix docstring and
export.
(operating-system-root-file-system): Export.
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I5254d82ce547e8014027ed20675b8bfe5a5847c5
Diffstat (limited to 'gnu/system.scm')
| -rw-r--r-- | gnu/system.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm index dfcb8fb2794..252a26cac3d 100644 --- a/gnu/system.scm +++ b/gnu/system.scm | |||
| @@ -110,6 +110,7 @@ | |||
| 110 | operating-system-default-label | 110 | operating-system-default-label |
| 111 | operating-system-initrd-modules | 111 | operating-system-initrd-modules |
| 112 | operating-system-initrd | 112 | operating-system-initrd |
| 113 | operating-system-initrd-file | ||
| 113 | operating-system-users | 114 | operating-system-users |
| 114 | operating-system-groups | 115 | operating-system-groups |
| 115 | operating-system-issue | 116 | operating-system-issue |
| @@ -119,6 +120,7 @@ | |||
| 119 | operating-system-locale-libcs | 120 | operating-system-locale-libcs |
| 120 | operating-system-mapped-devices | 121 | operating-system-mapped-devices |
| 121 | operating-system-file-systems | 122 | operating-system-file-systems |
| 123 | operating-system-root-file-system | ||
| 122 | operating-system-store-file-system | 124 | operating-system-store-file-system |
| 123 | operating-system-user-mapped-devices | 125 | operating-system-user-mapped-devices |
| 124 | operating-system-boot-mapped-devices | 126 | operating-system-boot-mapped-devices |
| @@ -1355,7 +1357,7 @@ we're running in the final root." | |||
| 1355 | (location (operating-system-location os))))))) | 1357 | (location (operating-system-location os))))))) |
| 1356 | 1358 | ||
| 1357 | (define (operating-system-initrd-file os) | 1359 | (define (operating-system-initrd-file os) |
| 1358 | "Return a gexp denoting the initrd file of OS." | 1360 | "Return a file-like object for the initrd file of OS." |
| 1359 | (define boot-file-systems | 1361 | (define boot-file-systems |
| 1360 | (filter file-system-needed-for-boot? | 1362 | (filter file-system-needed-for-boot? |
| 1361 | (operating-system-file-systems os))) | 1363 | (operating-system-file-systems os))) |
