guix-commits
[Top][All Lists]
Advanced

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

02/04: system: 'read-boot-parameters' allow initrd to be missing.


From: guix-commits
Subject: 02/04: system: 'read-boot-parameters' allow initrd to be missing.
Date: Fri, 3 Jul 2020 03:41:54 -0400 (EDT)

janneke pushed a commit to branch master
in repository guix.

commit 12906d3e2a79305270ade4a356d8b334d55ac264
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Jun 29 15:24:45 2020 +0200

    system: 'read-boot-parameters' allow initrd to be missing.
    
    * gnu/system.scm (read-boot-parameters): Allow initrd to be missing.
---
 gnu/system.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/system.scm b/gnu/system.scm
index 6a39931..a6a9c95 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -351,7 +351,8 @@ file system labels."
          (('initrd ('string-append directory file)) ;the old format
           (string-append directory file))
          (('initrd (? string? file))
-          file)))
+          file)
+         (#f #f)))
 
       (multiboot-modules
        (match (assq 'multiboot-modules rest)



reply via email to

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