guix/gnu/tests
Ludovic Courtès 1305f78d05
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
2024-12-28 22:47:34 +01:00
..
data
audio.scm
base.scm
cachefilesd.scm
ci.scm
containers.scm
cups.scm
databases.scm
desktop.scm
dict.scm
docker.scm
emacs.scm
file-sharing.scm
ganeti.scm
gdm.scm
guix.scm
image.scm
install.scm
ldap.scm
lightdm.scm
linux-modules.scm
mail.scm
messaging.scm
monitoring.scm
networking.scm
nfs.scm
package-management.scm
pam.scm
reconfigure.scm reconfigure: Support loading the system for kexec reboot. 2024-12-28 22:47:34 +01:00
rsync.scm
samba.scm
sddm.scm
security-token.scm
security.scm
shadow.scm gnu: Add tests/shadow.scm 2024-12-18 21:31:43 +01:00
singularity.scm
ssh.scm
telephony.scm
upnp.scm
version-control.scm
virtualization.scm
vnc.scm
vnstat.scm
web.scm