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
@ -48,7 +48,7 @@
|
||||
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 @@ used in the image."
|
||||
#$label
|
||||
#$dos-type
|
||||
#$image
|
||||
#$(or offset 0))))
|
||||
#$offset)))
|
||||
|
||||
(let* ((format (image-format image))
|
||||
(image-type (format->image-type format))
|
||||
|
Loading…
Reference in New Issue
Block a user