From 9f530ef38a23caa1136f93cda45d396ce8fe1569 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 1 Jul 2022 10:26:17 +0200 Subject: image: Add default value for partition initializer. Previously, the default value would lead to a wrong-type-to-apply crash. * gnu/system/image.scm (system-disk-image)[image-builder]: When 'partition-initializer' returns #f, fall back to INITIALIZE-ROOT-PARTITION. * gnu/tests/base.scm (run-root-unmount-test)[test-image]: Remove 'initializer' field of partition. * gnu/image.scm ()[initializer]: Add comment. --- gnu/tests/base.scm | 1 - 1 file changed, 1 deletion(-) (limited to 'gnu/tests') diff --git a/gnu/tests/base.scm b/gnu/tests/base.scm index 8284446868..353d6d415a 100644 --- a/gnu/tests/base.scm +++ b/gnu/tests/base.scm @@ -637,7 +637,6 @@ (define test-image (size 'guess) (offset (* 512 2048)) ;leave room for GRUB (flags '(boot)) - (initializer #~initialize-root-partition) (label "root-under-test")))))) ;max 16 characters! (define observer-os -- cgit v1.2.3