guix/gnu/installer/newt
Mathieu Othacehe 62a3756bd9
installer: Skip the backtrace page on user abort.
When the user aborts the installation because a core dump is discovered or the
installation command failed, displaying the abort backtrace doesn't make much
sense. Hide it when the abort condition is &user-abort-error and skip directly
to the dump page.

* gnu/installer/steps.scm (&user-abort-error): New variable.
(user-abort-error?): New procedure.
* gnu/installer/newt/final.scm (run-install-failed-page): Raise a
user-abort-error.
* gnu/installer/newt/welcome.scm (run-welcome-page): Ditto.
* gnu/installer.scm (installer-program): Hide the backtrace page and directly
propose to dump the report when the a &user-abort-error is raised.
2022-11-02 15:52:19 +01:00
..
ethernet.scm
final.scm installer: Skip the backtrace page on user abort. 2022-11-02 15:52:19 +01:00
hostname.scm
keymap.scm
locale.scm
menu.scm
network.scm installer: Factorize url-alive? in internet check. 2022-10-17 16:34:07 +04:00
page.scm
parameters.scm
partition.scm installer: Add a missing confirmation page before formatting. 2022-10-20 17:28:11 +02:00
services.scm installer: Exit console-services page with abort-to-prompt. 2022-09-22 16:28:12 +02:00
substitutes.scm guix: Fix typos. 2022-10-17 07:29:09 +02:00
timezone.scm
user.scm
utils.scm
welcome.scm installer: Skip the backtrace page on user abort. 2022-11-02 15:52:19 +01:00
wifi.scm