mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05: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:
parent
9f530ef38a
commit
ed19bc87e4
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue