mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
image: Set offset default to zero.
* gnu/image.scm (<partition>)[offset]: Set to zero by default. * gnu/system/image.scm (system-disk-image): Adapt accordingly.
This commit is contained in:
parent
20f524a44b
commit
1dd7b87f10
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ (define-record-type* <partition> partition make-partition
|
|||
partition?
|
||||
(device partition-device (default #f))
|
||||
(size partition-size)
|
||||
(offset partition-offset (default #f))
|
||||
(offset partition-offset (default 0))
|
||||
(file-system partition-file-system (default "ext4"))
|
||||
(label partition-label (default #f))
|
||||
(uuid partition-uuid (default #f))
|
||||
|
|
|
@ -253,7 +253,7 @@ (define (partition->config partition)
|
|||
#$label
|
||||
#$dos-type
|
||||
#$image
|
||||
#$(or offset 0))))
|
||||
#$offset)))
|
||||
|
||||
(let* ((format (image-format image))
|
||||
(image-type (format->image-type format))
|
||||
|
|
Loading…
Reference in a new issue