From e9f9f291edafaa27fa6d7e9967909555a08d383e Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 17 Feb 2022 13:33:19 -0500 Subject: 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. --- gnu/build/linux-boot.scm | 9 +++++---- 1 file 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. -- cgit v1.2.3