[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: image: Set offset default to zero.
From: |
guix-commits |
Subject: |
branch master updated: image: Set offset default to zero. |
Date: |
Tue, 26 May 2020 08:14:00 -0400 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 1dd7b87 image: Set offset default to zero.
1dd7b87 is described below
commit 1dd7b87f101ce99b37be5c769904c1aa2f6a0615
Author: Mathieu Othacehe <address@hidden>
AuthorDate: Tue May 26 13:05:22 2020 +0200
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.
---
gnu/image.scm | 2 +-
gnu/system/image.scm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/image.scm b/gnu/image.scm
index 3a02692..b434ed5 100644
--- a/gnu/image.scm
+++ b/gnu/image.scm
@@ -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))
diff --git a/gnu/system/image.scm b/gnu/system/image.scm
index 6b5a36f..cb770a1 100644
--- a/gnu/system/image.scm
+++ b/gnu/system/image.scm
@@ -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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: image: Set offset default to zero.,
guix-commits <=