GNU bug report logs -
#75027
[PATCH 0/3] 'guix system reconfigure' loads system for kexec reboot
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Sun, 22 Dec 2024 15:57:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #26 received at 75027 <at> debbugs.gnu.org (full text, mbox):
Hello,
Changes compared to v1:
• Move kexec code outside of ‘upgrade-shepherd-services’. Now both
(guix scripts system) and (gnu machine ssh) have to explicitly
call ‘load-system-for-kexec’.
• Add ‘--no-kexec’ command-line option for ‘guix system reconfigure’,
as Jakob suggested.
• Document kexec support under “Invoking guix system”.
The one thing I didn’t do is add a “kexec” symlink in the system; as it
turns out that’s not easily doable because of the circular dependency:
code returned by ‘kexec-loading-program’ needs to refer to the operating
system in which it would appear.
If we find a way to work around this, maybe we can add this later.
Thoughts?
Ludo’.
Ludovic Courtès (3):
syscalls: Add ‘kexec-load-file’.
system: Export ‘…-initrd-file’ and ‘…-root-file-system’.
reconfigure: Support loading the system for kexec reboot.
doc/guix.texi | 11 +++-
gnu/machine/ssh.scm | 9 +++-
gnu/system.scm | 4 +-
gnu/tests/reconfigure.scm | 78 +++++++++++++++++++++++++++++
guix/build/syscalls.scm | 54 ++++++++++++++++++++
guix/scripts/system.scm | 17 ++++++-
guix/scripts/system/reconfigure.scm | 31 ++++++++++++
tests/syscalls.scm | 13 +++++
8 files changed, 213 insertions(+), 4 deletions(-)
base-commit: f96c14e3ca6b22e56621cc04a1bf06a8cac6ca23
--
2.46.0
This bug report was last modified 215 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.