[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: image: Avoid use of the deprecated 'gpt' option of genimage.
From: |
guix-commits |
Subject: |
06/09: image: Avoid use of the deprecated 'gpt' option of genimage. |
Date: |
Fri, 1 Jul 2022 06:27:34 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit ed19bc87e4234144a05040aae75aee9a57e71f9b
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jul 1 10:33:51 2022 +0200
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.
---
gnu/system/image.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/system/image.scm b/gnu/system/image.scm
index 60ae38f6d8..e6e6917ecd 100644
--- a/gnu/system/image.scm
+++ b/gnu/system/image.scm
@@ -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))
- branch master updated (b5c6062bce -> 741895676b), guix-commits, 2022/07/01
- 03/09: services: root-file-system: Cleanly unmount upon shutdown., guix-commits, 2022/07/01
- 08/09: image: Add sanitizers for 'format' and 'partition-table-type'., guix-commits, 2022/07/01
- 02/09: file-systems: Add 'cleanly-unmounted-ext2?'., guix-commits, 2022/07/01
- 06/09: image: Avoid use of the deprecated 'gpt' option of genimage.,
guix-commits <=
- 04/09: image: 'system-image' throws when given an incorrect image format., guix-commits, 2022/07/01
- 05/09: image: Add default value for partition initializer., guix-commits, 2022/07/01
- 01/09: gnu: texlive-fmtcount: Add proper 'license' value., guix-commits, 2022/07/01
- 07/09: image: Raise an error when an image lacks a bootable partition., guix-commits, 2022/07/01
- 09/09: tests: Add sanitizer test., guix-commits, 2022/07/01