aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2020-06-29 15:24:45 +0200
committerJan (janneke) Nieuwenhuizen <janneke@gnu.org>2020-07-03 09:00:53 +0200
commit12906d3e2a79305270ade4a356d8b334d55ac264 (patch)
tree39ce68e16cc6ad55c1c55f2f70cd2d09a55f262b /gnu
parentaa864ebdb01a7685401e2b143cb359b12175b46e (diff)
downloadguix-12906d3e2a79305270ade4a356d8b334d55ac264.tar.gz
guix-12906d3e2a79305270ade4a356d8b334d55ac264.zip
system: 'read-boot-parameters' allow initrd to be missing.
* gnu/system.scm (read-boot-parameters): Allow initrd to be missing.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 6a39931a41..a6a9c958e6 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)