[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: image: Use a default size partition value.
From: |
guix-commits |
Subject: |
02/05: image: Use a default size partition value. |
Date: |
Wed, 7 Sep 2022 08:25:28 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit a1fb85a539f14e50b1d81e2bb78eeab60237eb7b
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Fri Sep 2 19:45:38 2022 +0200
image: Use a default size partition value.
* gnu/image.scm (<partition>)[size]: Default to 'guess like the image
record.
---
gnu/image.scm | 1 +
1 file changed, 1 insertion(+)
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