image: Use a default size partition value.

* gnu/image.scm (<partition>)[size]: Default to 'guess like the image record.
This commit is contained in:
Mathieu Othacehe 2022-09-02 19:45:38 +02:00
parent e0c1124a48
commit a1fb85a539
No known key found for this signature in database
GPG Key ID: 8354763531769CA6

View File

@ -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