aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-06-02 17:19:03 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-06-06 11:29:51 -0400
commit1d0d46b1c7532461c6243e4af6f208f47d66cd4e (patch)
treecf3e1df69181be928977f7d44ab65ac641325370 /gnu
parent2bcc6d5b1d1c59e20adfaf66dcbaad910e377048 (diff)
downloadguix-1d0d46b1c7532461c6243e4af6f208f47d66cd4e.tar
guix-1d0d46b1c7532461c6243e4af6f208f47d66cd4e.tar.gz
system: Fix typo, add doc.
* gnu/system.scm (operating-system-kernel-arguments): Fix typo in doc. (boot-parameters->menu-entry): Add doc.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index ba3a1865d7..2c81478d00 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -300,7 +300,7 @@ VERSION is the target version of the boot-parameters record."
(define* (operating-system-kernel-arguments
os root-device #:key (version %boot-parameters-version))
"Return all the kernel arguments, including the ones not specified directly
-by the user. VERSION should match that of the target <boot-parameter> record
+by the user. VERSION should match that of the target <boot-parameters> record
object that will contain the kernel parameters."
(append (bootable-kernel-arguments os root-device version)
(operating-system-user-kernel-arguments os)))
@@ -515,6 +515,7 @@ The object has its kernel-arguments extended in order to make it bootable."
(boot-parameters-kernel-arguments params))))))
(define (boot-parameters->menu-entry conf)
+ "Return a <menu-entry> instance given CONF, a <boot-parameters> instance."
(let* ((kernel (boot-parameters-kernel conf))
(multiboot-modules (boot-parameters-multiboot-modules conf))
(multiboot? (pair? multiboot-modules)))