summaryrefslogtreecommitdiff
path: root/CODE-OF-CONDUCT
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-12-19 16:24:49 +0100
committerLudovic Courtès <ludo@gnu.org>2024-12-28 22:47:34 +0100
commit1305f78d05f4e0027162c1b7e783fc127a49fb8e (patch)
treedd7ca5b4af5043ecee099755ca7ee4c5ab02b39e /CODE-OF-CONDUCT
parentebe706a1e820c52b9b067055cef1bc72abe1bc40 (diff)
reconfigure: Support loading the system for kexec reboot.
This allows rebooting straight into the new system with ‘reboot -k’. * guix/scripts/system/reconfigure.scm (kexec-loading-program) (load-system-for-kexec): New procedures. * gnu/tests/reconfigure.scm (run-kexec-test): New procedure. (%test-upgrade-kexec): New variable. * guix/scripts/system.scm (perform-action): Add #:load-for-kexec?. Call ‘load-system-for-kexec’. (show-help, %options): Add ‘--no-kexec’. (%default-options): Add ‘load-for-kexec?’. (process-action): Honor it and pass it to ‘perform-action’. * gnu/machine/ssh.scm (deploy-managed-host): Add call to ‘load-system-for-kexec’. * doc/guix.texi (Invoking guix system): Document it. Change-Id: I86d11f1c348e4359bc9e73c86e5aebff60fe875c
Diffstat (limited to 'CODE-OF-CONDUCT')
0 files changed, 0 insertions, 0 deletions