From 28febfafbb23561624cc5c4ac8ed581f1f867f70 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Mon, 29 Jun 2020 15:24:56 +0200 Subject: guix system: "describe" displays multiboot info. * guix/scripts/system.scm (display-system-generation): Display multiboot-modules commands if set. --- guix/scripts/system.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 28aaa6e3bc..61eeec622b 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -482,6 +482,7 @@ list of services." (uuid->string root) root)) (kernel (boot-parameters-kernel params)) + (multiboot-modules (boot-parameters-multiboot-modules params)) (provenance (catch 'system-error (lambda () (call-with-input-file @@ -511,6 +512,12 @@ list of services." (format #t (G_ " kernel: ~a~%") kernel) + (match multiboot-modules + (() #f) + (((modules . _) ...) + (format #t (G_ " multiboot: ~a~%") + (string-join modules "\n ")))) + (match provenance (#f #t) (('provenance ('version 0) -- cgit v1.2.3