aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-02-17 13:33:19 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-02-17 13:39:02 -0500
commite9f9f291edafaa27fa6d7e9967909555a08d383e (patch)
treef74facd812e3c8736444d2410202300113d85600 /gnu
parent12566aabe739e84e3475e21346499683406f1b03 (diff)
downloadguix-e9f9f291edafaa27fa6d7e9967909555a08d383e.tar.gz
guix-e9f9f291edafaa27fa6d7e9967909555a08d383e.zip
build: linux-boot: Expound docstring of the 'boot-system' procedure.
* gnu/build/linux-boot.scm (boot-system): Document the Linux command-line parameters it understands and split a long string over two lines.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/build/linux-boot.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index 8efe6e5f9c..0ae316849e 100644
--- a/gnu/build/linux-boot.scm
+++ b/gnu/build/linux-boot.scm
@@ -499,7 +499,9 @@ LINUX-MODULE-DIRECTORY, then installing KEYMAP-FILE with 'loadkeys' (if
KEYMAP-FILE is true), then setting up QEMU guest networking if
QEMU-GUEST-NETWORKING? is true, calling PRE-MOUNT, mounting the file systems
specified in MOUNTS, and finally booting into the new root if any. The initrd
-supports kernel command-line options '--load', '--root', and '--repl'.
+supports kernel command-line options '--load', '--root', and '--repl'. It
+also honors a subset of the documented Linux kernel command-line parameters
+such as 'fsck.mode', 'resume' and 'rootdelay'.
Mount the root file system, specified by the '--root' command-line argument,
if any.
@@ -596,9 +598,8 @@ upon error."
(let ((root-delay (and=> (find-long-option "rootdelay" args)
string->number)))
(when root-delay
- (format #t
- "Pausing for rootdelay=~a seconds before mounting the root file system...\n"
- root-delay)
+ (format #t "Pausing for rootdelay=~a seconds before mounting \
+the root file system...\n" root-delay)
(sleep root-delay)))
;; Prepare the real root file system under /root.