system: 'read-boot-parameters' allow initrd to be missing.
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>
Mon, 29 Jun 2020 13:24:45 +0000 (15:24 +0200)
committerJan (janneke) Nieuwenhuizen <janneke@gnu.org>
Fri, 3 Jul 2020 07:00:53 +0000 (09:00 +0200)
* gnu/system.scm (read-boot-parameters): Allow initrd to be missing.

gnu/system.scm

index 6a39931..a6a9c95 100644 (file)
@@ -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)