guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: build: linux-boot: Expound docstring of the 'boot-system' procedu


From: guix-commits
Subject: 03/03: build: linux-boot: Expound docstring of the 'boot-system' procedure.
Date: Thu, 17 Feb 2022 13:42:54 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit e9f9f291edafaa27fa6d7e9967909555a08d383e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Feb 17 13:33:19 2022 -0500

    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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]