1
0
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:
Ludovic Courtès
2022-07-01 10:33:51 +02:00
parent 9f530ef38a
commit ed19bc87e4
+2 -2
View File
@@ -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))