summaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-12-19 16:22:45 +0100
committerLudovic Courtès <ludo@gnu.org>2024-12-28 22:40:29 +0100
commitebe706a1e820c52b9b067055cef1bc72abe1bc40 (patch)
treed734b1893c08162e86255a1fdd37eaed2afe109b /gnu/system.scm
parent5c9029dc79027a156aceb86b38d9fd9abb3cdaa4 (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.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index dfcb8fb279..252a26cac3 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -110,6 +110,7 @@
operating-system-default-label
operating-system-initrd-modules
operating-system-initrd
+ operating-system-initrd-file
operating-system-users
operating-system-groups
operating-system-issue
@@ -119,6 +120,7 @@
operating-system-locale-libcs
operating-system-mapped-devices
operating-system-file-systems
+ operating-system-root-file-system
operating-system-store-file-system
operating-system-user-mapped-devices
operating-system-boot-mapped-devices
@@ -1355,7 +1357,7 @@ we're running in the final root."
(location (operating-system-location os)))))))
(define (operating-system-initrd-file os)
- "Return a gexp denoting the initrd file of OS."
+ "Return a file-like object for the initrd file of OS."
(define boot-file-systems
(filter file-system-needed-for-boot?
(operating-system-file-systems os)))