aboutsummaryrefslogtreecommitdiff
path: root/gnu/installer
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2022-10-20 17:09:17 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-10-20 17:28:11 +0200
commit00ff6f7c399670a76efffb91276dea2633cc130c (patch)
tree250c696600570bf3c44428243dde178e6ffbf61e /gnu/installer
parentb172241134b505b1a53fb29b72c7cb18592afbc0 (diff)
downloadguix-00ff6f7c399670a76efffb91276dea2633cc130c.tar
guix-00ff6f7c399670a76efffb91276dea2633cc130c.tar.gz
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.
Diffstat (limited to 'gnu/installer')
-rw-r--r--gnu/installer/newt/partition.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/installer/newt/partition.scm b/gnu/installer/newt/partition.scm
index 86607a8380..37656696c1 100644
--- a/gnu/installer/newt/partition.scm
+++ b/gnu/installer/newt/partition.scm
@@ -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.")