installer: Add a missing confirmation page before formatting.

This is a follow-up of: <https://issues.guix.gnu.org/57232>

* gnu/installer/newt/partition.scm (run-label-page): Add a confirmation page
when dealing with an EFI installation.
This commit is contained in:
Mathieu Othacehe 2022-10-20 17:09:17 +02:00
parent b172241134
commit 00ff6f7c39
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ all data on disk will be lost, are you sure you want to proceed?") item)
"Run a page asking the user to select a partition table label."
;; Force the GPT label if UEFI is supported.
(if (efi-installation?)
"gpt"
((run-label-confirmation-page button-callback) "gpt")
(run-listbox-selection-page
#:info-text (G_ "Select a new partition table type. \
Be careful, all data on the disk will be lost.")