bug-guix
[Top][All Lists]
Advanced

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

bug#40998: [PATCH 3/3] initrd: Print its command-line parameters.


From: Maxim Cournoyer
Subject: bug#40998: [PATCH 3/3] initrd: Print its command-line parameters.
Date: Fri, 18 Feb 2022 10:33:23 -0500

* gnu/build/linux-boot.scm (boot-system): Print command-line parameters to
standard output.
---
 gnu/build/linux-boot.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index b1573fe757..45be05d705 100644
--- a/gnu/build/linux-boot.scm
+++ b/gnu/build/linux-boot.scm
@@ -540,6 +540,8 @@ (define (device-string->file-system-device device-string)
              (root-fs*    (find root-mount-point? mounts))
              (fsck.mode (find-long-option "fsck.mode" args)))
 
+        (format #t "initrd command-line parameters: ~a~%" args)
+
         (unless (or root-fs* (and root-device rootfstype))
           (error "no root file system or 'root' and 'rootfstype' parameters"))
 
-- 
2.34.0






reply via email to

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