1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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

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