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 139a69b60201769ded53667872ca8dbad8f6e216, part of #5515. * gnu/installer/kernel.scm (kernel->configuration): Accept empty kernel. Change-Id: I7891f189ecc8d557aa9bb900a6633a570e46a3b6
1 files changed, 2 insertions(+), 1 deletions(-) M gnu/installer/kernel.scm
M gnu/installer/kernel.scm => gnu/installer/kernel.scm +2 -1
@@ 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"))