mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
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.
This commit is contained in:
parent
12566aabe7
commit
e9f9f291ed
1 changed files with 5 additions and 4 deletions
|
@ -499,7 +499,9 @@ (define* (boot-system #:key
|
|||
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 @@ (define (repair fs)
|
|||
(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.
|
||||
|
|
Loading…
Reference in a new issue