mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
installer: kernel: Accept empty list as kernel.
On architectures other than x86_64, the kernel page is not shown. That means
the kernel will be an empty list. This leads to an exception during
installation.
Followup of 139a69b602, part of #5515.
* gnu/installer/kernel.scm (kernel->configuration): Accept empty kernel.
Change-Id: I7891f189ecc8d557aa9bb900a6633a570e46a3b6
This commit is contained in:
parent
59c9c36db9
commit
88f0151d9f
1 changed files with 2 additions and 1 deletions
|
|
@ -27,7 +27,8 @@
|
|||
str)
|
||||
|
||||
(define (kernel->configuration kernel dry-run?)
|
||||
(if (string-prefix? "Hurd" kernel)
|
||||
(if (and (string? kernel)
|
||||
(string-prefix? "Hurd" kernel))
|
||||
`((kernel %hurd-default-operating-system-kernel)
|
||||
,(comment (G_ ";; \"noide\" disables the gnumach IDE driver, enabling rumpdisk.\n"))
|
||||
(kernel-arguments '("noide"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue