diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2022-09-02 19:45:38 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2022-09-07 14:24:52 +0200 |
commit | a1fb85a539f14e50b1d81e2bb78eeab60237eb7b (patch) | |
tree | 332ac05a3ae83bff3f217dd481a7f9156fe684f3 /gnu | |
parent | e0c1124a48d0f67ba015277fadc5bf4a3788dd38 (diff) | |
download | guix-a1fb85a539f14e50b1d81e2bb78eeab60237eb7b.tar.gz guix-a1fb85a539f14e50b1d81e2bb78eeab60237eb7b.zip |
image: Use a default size partition value.
* gnu/image.scm (<partition>)[size]: Default to 'guess like the image record.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/image.scm | 1 |
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 |