mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-24 01:51:51 +02:00
image: Avoid use of the deprecated 'gpt' option of genimage.
* gnu/system/image.scm (system-disk-image)[genimage-type-options]: Use 'partition-table-type' instead of the deprecated 'gpt' option.
This commit is contained in:
@@ -445,8 +445,8 @@ used in the image."
|
||||
(define (genimage-type-options image-type image)
|
||||
(cond
|
||||
((equal? image-type "hdimage")
|
||||
(format #f "~%~/~/gpt = ~a~%~/"
|
||||
(if (gpt-image? image) "true" "false")))
|
||||
(format #f "~%~/~/partition-table-type = \"~a\"~%~/"
|
||||
(image-partition-table-type image)))
|
||||
(else "")))
|
||||
|
||||
(let* ((format (image-format image))
|
||||
|
||||
Reference in New Issue
Block a user