aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-07-01 10:26:17 +0200
committerLudovic Courtès <ludo@gnu.org>2022-07-01 12:10:28 +0200
commit9f530ef38a23caa1136f93cda45d396ce8fe1569 (patch)
treee22c999dbc8a1fa983c59c21fa444984ec6be7f1 /gnu/tests
parente871c3a857005c2c55fcbf4dbd48e22fe33b6451 (diff)
downloadguix-9f530ef38a23caa1136f93cda45d396ce8fe1569.tar
guix-9f530ef38a23caa1136f93cda45d396ce8fe1569.tar.gz
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 (<partition>)[initializer]: Add comment.
Diffstat (limited to 'gnu/tests')
-rw-r--r--gnu/tests/base.scm1
1 files changed, 0 insertions, 1 deletions
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 @@ in a loop. See <http://bugs.gnu.org/26931>.")
(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