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
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -445,8 +445,8 @@ (define (partition->config image partition)
(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))