diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-07-01 10:26:17 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-07-01 12:10:28 +0200 |
commit | 9f530ef38a23caa1136f93cda45d396ce8fe1569 (patch) | |
tree | e22c999dbc8a1fa983c59c21fa444984ec6be7f1 /gnu/image.scm | |
parent | e871c3a857005c2c55fcbf4dbd48e22fe33b6451 (diff) | |
download | 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/image.scm')
-rw-r--r-- | gnu/image.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/image.scm b/gnu/image.scm index e10a495d3d..e347089b34 100644 --- a/gnu/image.scm +++ b/gnu/image.scm @@ -70,7 +70,7 @@ (label partition-label (default #f)) (uuid partition-uuid (default #f)) (flags partition-flags (default '())) - (initializer partition-initializer (default #f))) + (initializer partition-initializer (default #f))) ;gexp | #f ;;; |