diff options
Diffstat (limited to 'gnu/image.scm')
-rw-r--r-- | gnu/image.scm | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/gnu/image.scm b/gnu/image.scm index b05fc69dc5..19b466527b 100644 --- a/gnu/image.scm +++ b/gnu/image.scm @@ -22,7 +22,9 @@ partition? partition-device partition-size + partition-offset partition-file-system + partition-file-system-options partition-label partition-uuid partition-flags @@ -31,6 +33,7 @@ image image-name image-format + image-target image-size image-operating-system image-partitions @@ -45,13 +48,16 @@ (define-record-type* <partition> partition make-partition partition? - (device partition-device (default #f)) - (size partition-size) - (file-system partition-file-system (default "ext4")) - (label partition-label (default #f)) - (uuid partition-uuid (default #f)) - (flags partition-flags (default '())) - (initializer partition-initializer (default #f))) + (device partition-device (default #f)) + (size partition-size) + (offset partition-offset (default 0)) + (file-system partition-file-system (default "ext4")) + (file-system-options partition-file-system-options + (default '())) + (label partition-label (default #f)) + (uuid partition-uuid (default #f)) + (flags partition-flags (default '())) + (initializer partition-initializer (default #f))) ;;; @@ -62,6 +68,8 @@ image make-image image? (format image-format) ;symbol + (target image-target + (default #f)) (size image-size ;size in bytes as integer (default 'guess)) (operating-system image-operating-system ;<operating-system> |