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 @@
|
||||||
partition?
|
partition?
|
||||||
(device partition-device (default #f))
|
(device partition-device (default #f))
|
||||||
(size partition-size)
|
(size partition-size)
|
||||||
(offset partition-offset (default #f))
|
(offset partition-offset (default 0))
|
||||||
(file-system partition-file-system (default "ext4"))
|
(file-system partition-file-system (default "ext4"))
|
||||||
(label partition-label (default #f))
|
(label partition-label (default #f))
|
||||||
(uuid partition-uuid (default #f))
|
(uuid partition-uuid (default #f))
|
||||||
|
|
|
@ -253,7 +253,7 @@ used in the image."
|
||||||
#$label
|
#$label
|
||||||
#$dos-type
|
#$dos-type
|
||||||
#$image
|
#$image
|
||||||
#$(or offset 0))))
|
#$offset)))
|
||||||
|
|
||||||
(let* ((format (image-format image))
|
(let* ((format (image-format image))
|
||||||
(image-type (format->image-type format))
|
(image-type (format->image-type format))
|
||||||
|
|
Reference in a new issue