image: Use a default size partition value.
* gnu/image.scm (<partition>)[size]: Default to 'guess like the image record.
This commit is contained in:
parent
e0c1124a48
commit
a1fb85a539
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ numeric expression ~%") value 'field))))
|
||||||
(define-record-type* <partition> partition make-partition
|
(define-record-type* <partition> partition make-partition
|
||||||
partition?
|
partition?
|
||||||
(size partition-size ;size in bytes as integer or 'guess
|
(size partition-size ;size in bytes as integer or 'guess
|
||||||
|
(default 'guess)
|
||||||
(sanitize validate-size))
|
(sanitize validate-size))
|
||||||
(offset partition-offset
|
(offset partition-offset
|
||||||
(default 0) ;offset in bytes as integer
|
(default 0) ;offset in bytes as integer
|
||||||
|
|
Reference in a new issue