summary refs log tree commit diff
path: root/gnu/image.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2022-09-02 19:45:38 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-09-07 14:24:52 +0200
commita1fb85a539f14e50b1d81e2bb78eeab60237eb7b (patch)
tree332ac05a3ae83bff3f217dd481a7f9156fe684f3 /gnu/image.scm
parente0c1124a48d0f67ba015277fadc5bf4a3788dd38 (diff)
downloadguix-a1fb85a539f14e50b1d81e2bb78eeab60237eb7b.tar.gz
image: Use a default size partition value.
* gnu/image.scm (<partition>)[size]: Default to 'guess like the image record.
Diffstat (limited to 'gnu/image.scm')
-rw-r--r--gnu/image.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/image.scm b/gnu/image.scm
index a031e87924..44703934c9 100644
--- a/gnu/image.scm
+++ b/gnu/image.scm
@@ -114,6 +114,7 @@ numeric expression ~%") value 'field))))
 (define-record-type* <partition> partition make-partition
   partition?
   (size                 partition-size   ;size in bytes as integer or 'guess
+                        (default 'guess)
                         (sanitize validate-size))
   (offset               partition-offset
                         (default 0)   ;offset in bytes as integer