mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
image: Prefer gpt partition table for efi images
* gnu/system/image.scm (efi-disk-image): Use gpt partition-table-type. (efi32-disk-image): Use gpt partition-table-type. (qcow2-image-type): Use mbr partition-table-type explicitly. * gnu/tests/image.scm: Assert partition table type of efi-disk-image. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
This commit is contained in:
committed by
Josselin Poiret
parent
4722496292
commit
209204e23b
@@ -148,11 +148,13 @@ parent image record."
|
||||
(define efi-disk-image
|
||||
(image-without-os
|
||||
(format 'disk-image)
|
||||
(partition-table-type 'gpt)
|
||||
(partitions (list esp-partition root-partition))))
|
||||
|
||||
(define efi32-disk-image
|
||||
(image-without-os
|
||||
(format 'disk-image)
|
||||
(partition-table-type 'gpt)
|
||||
(partitions (list esp32-partition root-partition))))
|
||||
|
||||
(define iso9660-image
|
||||
@@ -215,6 +217,7 @@ set to the given OS."
|
||||
(constructor (cut image-with-os
|
||||
(image
|
||||
(inherit efi-disk-image)
|
||||
(partition-table-type 'mbr)
|
||||
(name 'image.qcow2)
|
||||
(format 'compressed-qcow2))
|
||||
<>))))
|
||||
|
||||
Reference in New Issue
Block a user