guix/gnu/installer
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
..
aux-files
newt installer: Skip the backtrace page on user abort. 2022-11-02 15:52:19 +01:00
connman.scm
dump.scm installer: Add core dump support. 2022-11-02 15:52:19 +01:00
final.scm installer: Run the "guix system init" command in a PTY. 2022-10-20 10:50:50 +02:00
hostname.scm
keymap.scm
locale.scm
newt.scm installer: Resume newt in exit-error procedure. 2022-10-23 15:37:57 +02:00
parted.scm installer: parted: Retry failing read-partition-uuid call. 2022-10-31 09:34:13 +01:00
proxy.scm
record.scm
services.scm
steps.scm installer: Skip the backtrace page on user abort. 2022-11-02 15:52:19 +01:00
substitutes.scm
tests.scm installer: tests: Fix typo. 2022-09-24 14:15:47 +02:00
timezone.scm
user.scm
utils.scm installer: Run the "guix system init" command in a PTY. 2022-10-20 10:50:50 +02:00